From 7f8187e703d36653c0173e1fc0c5a961741e52aa Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Sat, 5 Jan 2013 11:26:22 +0000 Subject: [PATCH] systemd: installation fix + don't kill jobs when killing fcron --- Makefile.in | 2 +- script/fcron.init.systemd.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 251445f..8a59dda 100644 --- a/Makefile.in +++ b/Makefile.in @@ -143,7 +143,7 @@ ifeq ($(BOOTINSTALL), 1) endif ifneq ($(SYSTEMD_DIR), no) if test ! -d $(DESTDIR)$(SYSTEMD_DIR); then $(INSTALL) -m 755 -d $(DESTDIR)$(SYSTEMD_DIR) ; fi - $(INSTALL) -m 644 files/fcron.init.systemd $(DESTDIR)$(SYSTEMD_DIR)/fcron.service + $(INSTALL) -m 644 script/fcron.init.systemd $(DESTDIR)$(SYSTEMD_DIR)/fcron.service endif install-staged: all diff --git a/script/fcron.init.systemd.in b/script/fcron.init.systemd.in index 369570b..bef8f72 100644 --- a/script/fcron.init.systemd.in +++ b/script/fcron.init.systemd.in @@ -11,6 +11,7 @@ PIDFile=@@PIDFILE@ ExecStart=@@DESTSBIN@/fcron ExecReload=/bin/kill -USR1 $MAINPID Restart=always +KillMode=process [Install] WantedBy=multi-user.target -- 2.47.3