From 232b6059dfe7b437edff5b94c54f1ccd9060e679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 2 Jan 2023 09:10:45 +0100 Subject: [PATCH] fix(mastodon-bot): restart on failure --- configs/mastodon-bot.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mastodon-bot.nix b/configs/mastodon-bot.nix index 3774f5d..2507dec 100644 --- a/configs/mastodon-bot.nix +++ b/configs/mastodon-bot.nix @@ -6,6 +6,8 @@ User = "kfm"; Group = "users"; WorkingDirectory = "/home/kfm/cloud/Seafile/Documents/Media/imaginary-illuminations"; + Restart = "on-failure"; + RestartSec = "15s"; }; startAt = "7:00"; script = ''