Automatisch herstarten op crash
This commit is contained in:
parent
9753f676f4
commit
6f8da01075
6 changed files with 20 additions and 27 deletions
13
ober/aiuo-shutdown-sleep.service
Normal file
13
ober/aiuo-shutdown-sleep.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue