From: Thibault Godouet Date: Fri, 16 Oct 2020 20:55:16 +0000 (+0100) Subject: systemd prefers programs to run in the foreground X-Git-Tag: ver3_3_1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a7e2d0da3cb71705a6ea0625f1a0755422be0af;p=thirdparty%2Ffcron.git systemd prefers programs to run in the foreground --- diff --git a/script/fcron.init.systemd.in b/script/fcron.init.systemd.in index 75e99cd..783b977 100644 --- a/script/fcron.init.systemd.in +++ b/script/fcron.init.systemd.in @@ -6,9 +6,9 @@ After=remote-fs.target syslog.target time-sync.target Before=shutdown.target [Service] -Type=forking +Type=simple PIDFile=@@PIDFILE@ -ExecStart=@@DESTSBIN@/fcron -b +ExecStart=@@DESTSBIN@/fcron -f ExecReload=/bin/kill -USR1 $MAINPID Restart=always KillMode=process