14 lines
233 B
SYSTEMD
14 lines
233 B
SYSTEMD
|
[Unit]
|
||
|
Description=AIUO sleep hook
|
||
|
Before=sleep.target
|
||
|
StopWhenUnneeded=yes
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=-aiuo-shutdown --notify sleep
|
||
|
ExecStop=-aiuo-shutdown --notify wakeup
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sleep.target
|