]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
systemd prefers programs to run in the foreground
authorThibault Godouet <yo8192@users.noreply.github.com>
Fri, 16 Oct 2020 20:55:16 +0000 (21:55 +0100)
committerThibault Godouet <yo8192@users.noreply.github.com>
Fri, 16 Oct 2020 20:55:16 +0000 (21:55 +0100)
script/fcron.init.systemd.in

index 75e99cde2deb8b65eab077bf33f6ec38df9fca0f..783b977902595886c1de3c6d4150fc7a90584f86 100644 (file)
@@ -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