dcron: startup fails with setpgid: Operation not permitted
authorDale Ghent <daleg@omniti.com>
Thu, 13 Aug 2015 19:33:56 +0000 (19:33 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Nov 2015 17:52:06 +0000 (18:52 +0100)
Signed-off-by: Dale Ghent <daleg@omniti.com>
Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dcron/dcron.service

index b9fa489a496cbaf4d59824bb3f3105962e82a186..924ed722051c339cf5221dc6d1551226883156e3 100644 (file)
@@ -3,8 +3,8 @@ Description=Task scheduler daemon
 After=syslog.target
 
 [Service]
-ExecStart=/usr/sbin/crond -f -S
-Restart=always
+ExecStart=/usr/sbin/crond -S
+Type=forking
 
 [Install]
 WantedBy=multi-user.target