python-validity/debian/python3-validity-suspend-restart.service
alteriks 151a076d8c
Update python3-validity-suspend-restart.service
Systemd uses additional target corelated to resume - suspend-then-hibernate.target
2020-08-18 21:54:42 +02:00

10 lines
338 B
Desktop File

[Unit]
Description=Restart python-validity after resume
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 suspend-then-hibernate.target