add [Install] for service
This commit is contained in:
parent
68911239ff
commit
725454828c
|
@ -12,4 +12,7 @@ Restart=always
|
||||||
|
|
||||||
Environment="DISPLAY=:0"
|
Environment="DISPLAY=:0"
|
||||||
Environment="XAUTHORITY=/home/%i/.Xauthority"
|
Environment="XAUTHORITY=/home/%i/.Xauthority"
|
||||||
ExecStart=/usr/sbin/xlock
|
ExecStart=/usr/sbin/xlock
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue