dotfiles/etc/systemd/system/ydotool.service

21 lines
383 B
SYSTEMD

# /etc/systemd/system/ydotool.service
[Unit]
Description=Starts ydotoold service
Documentation=/usr/include/linux/input-event-codes.h
[Service]
Type=simple
Restart=always
RestartSec=2
ExecStart=/usr/bin/ydotoold --socket-perm 0660
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
TimeoutSec=30
User=nobody
Group=input
NoNewPrivileges=true
[Install]
WantedBy=default.target