Run restart service on hybrid sleep as well.

This commit is contained in:
Arvid Norlander 2020-08-04 10:35:10 +02:00
parent d7906ce3a9
commit 70b6f4c01d
No known key found for this signature in database
GPG key ID: E824A8E5D8D29AA0

View file

@ -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