Merge pull request #30 from alteriks/suspend-then-hibernate

Update python3-validity-suspend-restart.service
This commit is contained in:
uunicorn 2020-08-19 10:24:49 +12:00 committed by GitHub
commit 42669765de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,10 @@
[Unit]
Description=Restart python-validity after resume
After=suspend.target hibernate.target hybrid-sleep.target
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
[Service]
Type=simple
ExecStart=/bin/systemctl --no-block restart python3-validity.service
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target