1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02: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";
};
};
};