redshift: use on-failure
restart policy
This commit is contained in:
parent
e44faef21c
commit
3d634914ce
|
@ -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