aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPeter Hoeg <peter@speartail.com>2016-09-28 10:21:15 +0000
committerAudrius Butkevicius <audrius.butkevicius@gmail.com>2016-09-28 10:21:15 +0000
commit50190236bbcbba98bde865b4aafc009e85896c23 (patch)
tree07d11769890c42fe7f4f08f2d2fff4eb336ed55f /etc
parentd5a0f91cb47edffacad759d75eb7ea048b969ec8 (diff)
downloadsyncthing-50190236bbcbba98bde865b4aafc009e85896c23.tar.gz
syncthing-50190236bbcbba98bde865b4aafc009e85896c23.zip
Ignore pkill error on resume
The ```syncthing-resume.service``` will show as a failed service in case there are no syncthing processes running after resume but it can be safely ignored because it makes no difference. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3630
Diffstat (limited to 'etc')
-rw-r--r--etc/linux-systemd/system/syncthing-resume.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/linux-systemd/system/syncthing-resume.service b/etc/linux-systemd/system/syncthing-resume.service
index 3ae9b015d..fddeaf43a 100644
--- a/etc/linux-systemd/system/syncthing-resume.service
+++ b/etc/linux-systemd/system/syncthing-resume.service
@@ -5,7 +5,7 @@ After=suspend.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/pkill -HUP -x syncthing
+ExecStart=-/usr/bin/pkill -HUP -x syncthing
[Install]
WantedBy=suspend.target