Automatisch herstarten op crash

This commit is contained in:
Chris Josten 2020-10-18 18:55:34 +02:00
parent 9753f676f4
commit 6f8da01075
6 changed files with 20 additions and 27 deletions

View file

@ -0,0 +1,13 @@
[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