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