aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBenedikt Morbach <benedikt.morbach@googlemail.com>2017-03-12 15:21:12 +0000
committerJakob Borg <jakob@kastelo.net>2017-03-12 15:21:12 +0000
commitef35a7a4cb8b973e100dc42acb830bc99afc6b5f (patch)
treecedeef836e12886cdd2c2b74d0ea7ef99e1921ae /etc
parent601a4fac1a831019d475b8257231e49e1ba7edc9 (diff)
downloadsyncthing-ef35a7a4cb8b973e100dc42acb830bc99afc6b5f.tar.gz
syncthing-ef35a7a4cb8b973e100dc42acb830bc99afc6b5f.zip
etc: linux-systemd: Use sleep.target in syncthing-resume.service
Skip-check: authors GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4037
Diffstat (limited to 'etc')
-rw-r--r--etc/linux-systemd/system/syncthing-resume.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/linux-systemd/system/syncthing-resume.service b/etc/linux-systemd/system/syncthing-resume.service
index fddeaf43a..8881e7a2d 100644
--- a/etc/linux-systemd/system/syncthing-resume.service
+++ b/etc/linux-systemd/system/syncthing-resume.service
@@ -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