From 65192f449e5454c17ca45779bc11c935fa9c33ac Mon Sep 17 00:00:00 2001 From: missytake Date: Sat, 6 Jul 2024 16:19:43 +0200 Subject: [PATCH] systemd: start user unit at boot --- .../pyinfra_assets/remember-remember-bot.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remember_remember_bot/pyinfra_assets/remember-remember-bot.service.j2 b/src/remember_remember_bot/pyinfra_assets/remember-remember-bot.service.j2 index b30f9ff..b744b97 100644 --- a/src/remember_remember_bot/pyinfra_assets/remember-remember-bot.service.j2 +++ b/src/remember_remember_bot/pyinfra_assets/remember-remember-bot.service.j2 @@ -6,7 +6,7 @@ ExecStart={{ execpath }} --debug EnvironmentFile={{ working_directory }}/.env WorkingDirectory={{ working_directory }} Restart=on-failure -RestartSec=5s +RestartSec=500s [Install] -WantedBy=multi-user.target +WantedBy=default.target