1 2 3 4 5 6 7 8 9 10
[Unit] Description=Lock the screen on resume from suspend [Service] User=rahm Environment=DISPLAY=:0 ExecStart=/usr/bin/xsecurelock [Install] WantedBy=suspend.target