nixos: never restart podman-restart on a deploy
All checks were successful
nixos / nixos (push) Successful in 40s
All checks were successful
nixos / nixos (push) Successful in 40s
Its stop step is `podman stop --all`. A deploy that changes the unit, such as a Podman update, would restart it and so stop XMPP, running CI jobs and every app, only to start them again. It does its work at boot; leave it alone on a switch. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
c1a4080f39
commit
acf5260414
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
# Its stop step stops every container: a deploy that changes the unit
|
||||
# (a Podman update) must not take XMPP, CI jobs and the apps down.
|
||||
# It only matters at boot.
|
||||
restartIfChanged = false;
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.docker-client ];
|
||||
|
|
|
|||
Loading…
Reference in a new issue