xsession: allow xplugd to restart on failure
This should let it recover a bit better from transient errors.
This commit is contained in:
parent
8c3b2a0cab
commit
fa152fd745
|
@ -139,6 +139,7 @@ in {
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
|
Restart = "on-failure";
|
||||||
ExecStart = let
|
ExecStart = let
|
||||||
script = pkgs.writeShellScript "xplugrc" ''
|
script = pkgs.writeShellScript "xplugrc" ''
|
||||||
case "$1,$3" in
|
case "$1,$3" in
|
||||||
|
|
Loading…
Reference in a new issue