Advertisement
Guest User

service file

a guest
Sep 24th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### /etc/systemd/system/suspend@.service
  2. [Unit]
  3. Description=User suspend actions
  4. Before=suspend.target
  5.  
  6. [Service]
  7. User=MYUSERNAME
  8. Type=simple
  9. Environment=DISPLAY=:0
  10. ExecStart=+/usr/bin/xtrlock-pam -s
  11.  
  12. [Install]
  13. WantedBy=suspend.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement