From c06c2f6d0eae3dc48cf2cb2a19b1dec09e6b4b09 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 20 Jan 2020 15:41:05 -0500 Subject: [PATCH] cronie: support $OPTS and logging in service --- srcpkgs/cronie/files/cronie/log/run | 2 ++ srcpkgs/cronie/files/cronie/run | 3 ++- srcpkgs/cronie/template | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 srcpkgs/cronie/files/cronie/log/run diff --git a/srcpkgs/cronie/files/cronie/log/run b/srcpkgs/cronie/files/cronie/log/run new file mode 100755 index 00000000000..481c04d6207 --- /dev/null +++ b/srcpkgs/cronie/files/cronie/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p cron.notice diff --git a/srcpkgs/cronie/files/cronie/run b/srcpkgs/cronie/files/cronie/run index c1216bb0f29..d3045c363c6 100755 --- a/srcpkgs/cronie/files/cronie/run +++ b/srcpkgs/cronie/files/cronie/run @@ -1,2 +1,3 @@ #!/bin/sh -exec cronie-crond -n 2>&1 +[ -r conf ] && . ./conf +exec cronie-crond -n $OPTS 2>&1 diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 50e2d88dfbd..cd00937e7f5 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.5.5 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-inotify --without-selinux --with-pam --enable-anacron --enable-pie --enable-relro"