aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/systemd/wakeup.service
blob: 0a292d35f66f3531ed27a1d63da3680d66901ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Run my_user_script
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target network-online.target
Wants=network-online.target

[Service]
ExecStart=/home/pham/helper/bin/wakeup.sh
User=pham
Environment=DISPLAY=:0

[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target