Skip to content

Commit

Permalink
Set restartIfChanged on the TGS nix module's service, to ensure it do…
Browse files Browse the repository at this point in the history
…esn't get restarted and boots players
  • Loading branch information
Lorwp committed Jan 22, 2025
1 parent 8a5a137 commit 854c804
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/package/nix/tgstation-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ in
(lib.mkIf (cfg.environmentFile != null) [ cfg.environmentFile ])
"/etc/tgstation.server.d/appsettings.Production.yml"
];
restartIfChanged = false; # So that the TGS service doesn't just get restarted whenever it's updated, and boots players
wantedBy = [ "multi-user.target" ];
};
};
Expand Down

0 comments on commit 854c804

Please sign in to comment.