Browse Source

Set service file to always restart

master
Burathar 4 years ago
parent
commit
20cfa98d6c
  1. 5
      debian/yubilock.service

5
debian/yubilock.service vendored

@ -2,12 +2,15 @@ @@ -2,12 +2,15 @@
Description=Yubikey activated xscreensaver locker/unlocker
#Requires=syslog.socket
Documentation=https://git.sciuro.org/Burathar/xscreensaver-yubilock
StartLimitIntervalSec=10
StartLimitBurst=3
[Service]
Type=simple
ExecStart=/opt/yublilock/venv/bin/python /opt/yubilock/xscreensaver_yubilock.py -v
#StandardOutput=null
Restart=on-failure
Restart=always
RestartSec=1
[Install]
WantedBy=default.target

Loading…
Cancel
Save