aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/systemd/wakeup.service
diff options
context:
space:
mode:
Diffstat (limited to 'misc/systemd/wakeup.service')
-rw-r--r--misc/systemd/wakeup.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/systemd/wakeup.service b/misc/systemd/wakeup.service
new file mode 100644
index 0000000..0a292d3
--- /dev/null
+++ b/misc/systemd/wakeup.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Run my_user_script
3After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target network-online.target
4Wants=network-online.target
5
6[Service]
7ExecStart=/home/pham/helper/bin/wakeup.sh
8User=pham
9Environment=DISPLAY=:0
10
11[Install]
12WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target