diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-03 18:57:43 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 15:52:38 +0200 |
commit | 56c45e439e352db3af9a321ba773b97854790c32 (patch) | |
tree | fe577e1d787d131e45aa4fd6c257816f6f8955fc /modules/auto-redeploy.nix | |
parent | Add auto redeploy (diff) | |
download | Spacebar-Open-Infrastructure-56c45e439e352db3af9a321ba773b97854790c32.tar.xz |
Enable auto redeploy
Diffstat (limited to 'modules/auto-redeploy.nix')
-rw-r--r-- | modules/auto-redeploy.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auto-redeploy.nix b/modules/auto-redeploy.nix index c49399c..4cdabc5 100644 --- a/modules/auto-redeploy.nix +++ b/modules/auto-redeploy.nix @@ -20,7 +20,8 @@ ${pkgs.curl}/bin/curl -F "file=@/tmp/update.log" -F "filename=update.log" -F "content=System finished redeploy." -H "Content-Type: multipart/form-data" ${secrets.webhooks.discord.deploy} ''; - #Restart = "never"; + Restart = "always"; + RestartSec = 10; User = "root"; }; }; |