Try copy xmonad configuration again on failure

This commit is contained in:
dump_stack() 2019-12-29 13:52:24 +00:00
parent bd8d6d822d
commit 870c9d6da8
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -52,8 +52,9 @@ startup = do
ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs"; ConditionFileNotEmpty = "!/home/user/.xmonad/xmonad.hs";
ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'"; ExecStart = "/bin/sh -c 'mkdir -p /home/user/.xmonad && ln -s /etc/xmonad.hs /home/user/.xmonad/xmonad.hs'";
RemainAfterExit = "yes"; RemainAfterExit = "yes";
Type = "oneshot";
User = "user"; User = "user";
Restart = "on-failure";
TimeoutSec = 10;
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };