]> code.delx.au - monosys/blob - systemd-units/user-hook-sleep.service
opal-card-tool: More command line options
[monosys] / systemd-units / 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