mirror of
https://gitlab.sectorq.eu/jaydee/watcher.git
synced 2025-12-14 10:44:53 +01:00
build
This commit is contained in:
15
watcher.service
Normal file
15
watcher.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Watcher
|
||||
Wants=network-online.target
|
||||
After=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Environment=XAUTHORITY=/home/jd/.Xauthority
|
||||
Environment=DISPLAY=:0
|
||||
#ExecStartPre=/bin/sleep 30
|
||||
ExecStart=/usr/bin/watcher.sh > /dev/null 2>&1 &
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
|
||||
Reference in New Issue
Block a user