mirror of
https://gitlab.com/dbrw/ansible-setup.git
synced 2026-02-06 18:10:42 +07:00
update user services
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=XScreenSaver Utility
|
||||
Documentation=man:xss-lock(1)
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
Before=xset-xss.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/xss-lock -s ${XDG_SESSION_ID} --ignore-sleep -- systemctl --user --wait start lock.target
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Reference in New Issue
Block a user