]> code.delx.au - monosys/blob - etc/systemd/system/user-hook-sleep.service
smartd.conf: -d removable
[monosys] / etc / systemd / system / user-hook-sleep.service
1 [Unit]
2 Description=User hook for sleep action
3 Before=sleep.target
4
5 [Service]
6 Type=oneshot
7 ExecStart=/usr/local/bin/xuserrun bash -c '. ~/.bashrc && ~/.hooks/sleep'
8
9 [Install]
10 WantedBy=sleep.target