Run restart service on hybrid sleep as well.
This commit is contained in:
parent
d7906ce3a9
commit
70b6f4c01d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
|||
[Unit]
|
||||
Description=Restart python-validity after resume
|
||||
After=suspend.target hibernate.target
|
||||
After=suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/systemctl --no-block restart python3-validity.service
|
||||
|
||||
[Install]
|
||||
WantedBy=suspend.target hibernate.target
|
||||
WantedBy=suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue