Last active
January 15, 2020 18:10
-
-
Save frangio/404af2360a4992159eb1f9faf98548b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Lock all consoles | |
Documentation=man:physlock(1) | |
Before=sleep.target | |
OnFailure=hibernate.target | |
[Service] | |
Type=forking | |
ExecStart=physlock -d | |
[Install] | |
WantedBy=sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment