mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 00:56:39 +02:00
- Updated xkey service to use tmp location for config, added wordwise script
This commit is contained in:
@@ -9,4 +9,7 @@ if systemctl -q --user is-active keyswap; then
|
||||
fi
|
||||
if systemctl -q --user is-enabled keyswap; then
|
||||
systemctl --user disable keyswap
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p /tmp/kinto
|
||||
cp /home/{username}/.config/kinto/kinto.py /tmp/kinto/kinto.py
|
@@ -5,7 +5,7 @@ Description=xkeysnail
|
||||
Type=simple
|
||||
KillMode=process
|
||||
ExecStartPre=/sbin/runuser -l {username} -c /home/{username}/.config/kinto/prexk.sh
|
||||
ExecStart=/usr/bin/sudo /bin/bash -c '/home/{username}/.config/kinto/xkeystart.sh "/home/{username}/.config/kinto/kinto.py"'
|
||||
ExecStart=/usr/bin/sudo /bin/bash -c '/home/{username}/.config/kinto/xkeystart.sh "/tmp/kinto/kinto.py"'
|
||||
ExecStop=/usr/bin/sudo /usr/bin/killall xkeysnail
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
Reference in New Issue
Block a user