This commit is contained in:
2025-08-04 15:09:30 +02:00
parent fa54d02327
commit 8e3c7aa86b

15
watcher.service Normal file
View 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