1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

redshift: use on-failure restart policy

This commit is contained in:
William Carroll 2020-03-16 15:43:11 +00:00 committed by Robert Helgesson
parent e44faef21c
commit 3d634914ce
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -156,7 +156,7 @@ in {
command = if cfg.tray then "redshift-gtk" else "redshift";
in "${cfg.package}/bin/${command} ${concatStringsSep " " args}";
RestartSec = 3;
Restart = "always";
Restart = "on-failure";
};
};
};