diff --git a/keyswap_service.sh b/keyswap_service.sh index 16cf971..d76a1e3 100755 --- a/keyswap_service.sh +++ b/keyswap_service.sh @@ -6,7 +6,6 @@ systemctl --user stop keyswap.timer >/dev/null 2>&1 systemctl --user disable keyswap.timer >/dev/null 2>&1 swapcmd="\/bin\/bash\ \/home\/`whoami`\/.config\/kinto\/xactive.sh" mkdir -p ~/.config/systemd/user -mkdir -p ~/.config/autostart cp ./system-config/keyswap.service ~/.config/systemd/user/keyswap.service cp ./kintox11/binary/kintox11 ~/.config/kinto/kintox11 cp ./system-config/xactive.sh ~/.config/kinto/xactive.sh diff --git a/system-config/keyswap.service b/system-config/keyswap.service index b7e3bd6..4654532 100755 --- a/system-config/keyswap.service +++ b/system-config/keyswap.service @@ -8,6 +8,7 @@ Type=simple #Group={username} Environment=DISPLAY=:0 Restart=always +RestartSec=1 WorkingDirectory=/home/{username}/.config/kinto ExecStart=