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