Try copy xmonad configuration again on failure

This commit is contained in:
Mikhail Klementev 2019-12-29 13:52:24 +00:00
parent bd8d6d822d
commit 870c9d6da8
No known key found for this signature in database
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" ];
}; };