Merge pull request #22 from VorpalBlade/feature/hybrid-sleep

Run restart service on hybrid sleep as well.
This commit is contained in:
uunicorn 2020-08-04 20:39:28 +12:00 committed by GitHub
commit d72c7b1896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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