mirror of
https://github.com/nix-community/home-manager
synced 2024-12-28 04:39:48 +01:00
redshift: use on-failure
restart policy
This commit is contained in:
parent
e44faef21c
commit
3d634914ce
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue