Nieuw: laat weten als de ober gaat slapen/wakker wordt

This commit is contained in:
Chris Josten 2020-10-18 16:30:23 +02:00
parent 5273c53852
commit 9753f676f4
5 changed files with 78 additions and 35 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Notify aiuo-shutdown when system wakes up
After=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStop=aiuo-shutdown --notify wakeup
[Install]
WantedBy=suspend.target