[Unit] Description=Yubikey activated xscreensaver locker/unlocker After=syslog.target multi-user.target lightdm.service Requires=lightdm.service #Requires=syslog.socket #Documentation=man:rsyslogd(8) #Documentation=https://www.rsyslog.com/doc/ [Service] #Type=simple ExecStart=/opt/yublilock/venv/bin/python /opt/yubilock/xscreensaver_yubilock.py -v User=yubilock #StandardOutput=null #Restart=on-failure # Increase the default a bit in order to allow many simultaneous # files to be monitored, we might need a lot of fds. #LimitNOFILE=16384 [Install] WantedBy=multi-user.target