deployerbot: do not restart if changed

leads to interesting deadlocks when upgrading self
This commit is contained in:
Motiejus Jakštys 2023-08-10 10:40:07 +03:00
parent fbdaedeb04
commit 7bedc09abb

View File

@ -37,6 +37,7 @@
description = "Update all known systems"; description = "Update all known systems";
environment = {TZ = "UTC";}; environment = {TZ = "UTC";};
path = [pkgs.git pkgs.openssh pkgs.nix]; path = [pkgs.git pkgs.openssh pkgs.nix];
restartIfChanged = false;
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "deployerbot-main"; User = "deployerbot-main";