diff mbox

[1/1] dcron: startup fails with setpgid: Operation not permitted

Message ID 1439494436-944-1-git-send-email-daleg@omniti.com
State Accepted
Headers show

Commit Message

Dale Ghent Aug. 13, 2015, 7:33 p.m. UTC
Signed-off-by: Dale Ghent <daleg@omniti.com>
---
 package/dcron/dcron.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Maxime Hadjinlian Nov. 5, 2015, 10:18 a.m. UTC | #1
Hi Dale, all

On Thu, Aug 13, 2015 at 9:33 PM, Dale Ghent <daleg@omniti.com> wrote:

> Signed-off-by: Dale Ghent <daleg@omniti.com>
> ---
>  package/dcron/dcron.service | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/dcron/dcron.service b/package/dcron/dcron.service
> index b9fa489..924ed72 100644
> --- a/package/dcron/dcron.service
> +++ b/package/dcron/dcron.service
> @@ -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
>
Maybe the commit log should mention that's only a systemd issue ?
Other than that:

Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>

> --
> 1.9.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
Thomas Petazzoni Nov. 28, 2015, 5:52 p.m. UTC | #2
Dear Dale Ghent,

On Thu, 13 Aug 2015 19:33:56 +0000, Dale Ghent wrote:
> Signed-off-by: Dale Ghent <daleg@omniti.com>
> ---
>  package/dcron/dcron.service | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
diff mbox

Patch

diff --git a/package/dcron/dcron.service b/package/dcron/dcron.service
index b9fa489..924ed72 100644
--- a/package/dcron/dcron.service
+++ b/package/dcron/dcron.service
@@ -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