etc: linux-systemd: Use sleep.target in syncthing-resume.service

Skip-check: authors

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4037
This commit is contained in:
Benedikt Morbach 2017-03-12 15:21:12 +00:00 committed by Jakob Borg
parent 601a4fac1a
commit ef35a7a4cb

View File

@ -1,11 +1,11 @@
[Unit]
Description=Restart Syncthing after resume
Documentation=man:syncthing(1)
After=suspend.target
After=sleep.target
[Service]
Type=oneshot
ExecStart=-/usr/bin/pkill -HUP -x syncthing
[Install]
WantedBy=suspend.target
WantedBy=sleep.target