1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Lightweight linux console locking tool OnSuccess=unlock.target PartOf=lock.target After=lock.target [Service] Type=forking ExecStart=/usr/bin/physlock -dsm Restart=on-failure RestartSec=0 [Install] WantedBy=lock.target