xsession: allow xplugd to restart on failure

This should let it recover a bit better from transient errors.
This commit is contained in:
ckie 2023-10-17 20:34:00 +03:00 committed by Robert Helgesson
parent 8c3b2a0cab
commit fa152fd745
No known key found for this signature in database
GPG Key ID: 96E745BD17AA17ED
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ in {
Service = {
Type = "forking";
Restart = "on-failure";
ExecStart = let
script = pkgs.writeShellScript "xplugrc" ''
case "$1,$3" in