mirror of
https://github.com/nix-community/home-manager
synced 2024-07-01 02:48:30 +02:00
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";
|
command = if cfg.tray then "redshift-gtk" else "redshift";
|
||||||
in "${cfg.package}/bin/${command} ${concatStringsSep " " args}";
|
in "${cfg.package}/bin/${command} ${concatStringsSep " " args}";
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
Restart = "always";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user