add [Install] for service

This commit is contained in:
xdrm-brackets 2019-03-03 17:28:03 +01:00
parent 68911239ff
commit 725454828c
1 changed files with 4 additions and 1 deletions

View File

@ -13,3 +13,6 @@ 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