From 50190236bbcbba98bde865b4aafc009e85896c23 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 28 Sep 2016 10:21:15 +0000 Subject: [PATCH] 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 --- etc/linux-systemd/system/syncthing-resume.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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