nixos/asf: restart when self restarting

This commit is contained in:
Sandro Jäckel 2022-06-03 18:27:28 +02:00
parent 4de6a81193
commit d8cd684b62
No known key found for this signature in database
GPG Key ID: B1763F8651144063

View File

@ -183,6 +183,7 @@ in
WorkingDirectory = cfg.dataDir;
Type = "simple";
ExecStart = "${cfg.package}/bin/ArchiSteamFarm --path ${cfg.dataDir} --process-required --no-restart --service --no-config-migrate";
Restart = "always";
# mostly copied from the default systemd service
PrivateTmp = true;