mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-01 02:49:29 +00:00
nixos: set to false: restartIfChanged and unitConfig.X-StopOnRemoval
This commit is contained in:
parent
e8cd9d4b72
commit
679137386d
|
@ -101,6 +101,8 @@ in
|
||||||
KillMode = "none";
|
KillMode = "none";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
|
restartIfChanged = false;
|
||||||
|
unitConfig.X-StopOnRemoval = false;
|
||||||
script = ''
|
script = ''
|
||||||
# sync top-level flake with sp-modules sub-flake
|
# sync top-level flake with sp-modules sub-flake
|
||||||
# (https://github.com/NixOS/nix/issues/9339)
|
# (https://github.com/NixOS/nix/issues/9339)
|
||||||
|
@ -125,8 +127,10 @@ in
|
||||||
KillMode = "none";
|
KillMode = "none";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
|
restartIfChanged = false;
|
||||||
|
unitConfig.X-StopOnRemoval = false;
|
||||||
script = ''
|
script = ''
|
||||||
# FIXME get URL from systemd parameter
|
# TODO get URL from systemd parameter
|
||||||
nix flake update \
|
nix flake update \
|
||||||
--override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes
|
--override-input selfprivacy-nixos-config git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes
|
||||||
|
|
||||||
|
@ -151,6 +155,8 @@ in
|
||||||
KillMode = "none";
|
KillMode = "none";
|
||||||
SendSIGKILL = "no";
|
SendSIGKILL = "no";
|
||||||
};
|
};
|
||||||
|
restartIfChanged = false;
|
||||||
|
unitConfig.X-StopOnRemoval = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue