From ef35a7a4cb8b973e100dc42acb830bc99afc6b5f Mon Sep 17 00:00:00 2001 From: Benedikt Morbach Date: Sun, 12 Mar 2017 15:21:12 +0000 Subject: [PATCH] etc: linux-systemd: Use sleep.target in syncthing-resume.service Skip-check: authors GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4037 --- etc/linux-systemd/system/syncthing-resume.service | 4 ++-- 1 file 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