mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 11:19:47 +01:00
xsession: allow xplugd to restart on failure
This should let it recover a bit better from transient errors.
This commit is contained in:
parent
2ead9ee576
commit
4e7e6e2538
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ in {
|
|||
|
||||
Service = {
|
||||
Type = "forking";
|
||||
Restart = "on-failure";
|
||||
ExecStart = let
|
||||
script = pkgs.writeShellScript "xplugrc" ''
|
||||
case "$1,$3" in
|
||||
|
|
Loading…
Reference in a new issue