From 792b6e77e1cc5bed3ababf18237b08f5809d6f22 Mon Sep 17 00:00:00 2001 From: Andrew Barchuk Date: Thu, 5 Aug 2021 19:19:10 +0200 Subject: [PATCH] cronie: prevent from failing without sendmail. If a job produces output cronie will attempt to send it's output with sendmail, failing if the command doesn't exist. sendmail failures are not handled gracefully and will result in remaining cron scripts to not be executed. The change makes cronie service use syslog so cron jobs that produce output are working out of the box. --- srcpkgs/cronie/files/cronie/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/cronie/files/cronie/run b/srcpkgs/cronie/files/cronie/run index d3045c363c6d..a47453848cb6 100755 --- a/srcpkgs/cronie/files/cronie/run +++ b/srcpkgs/cronie/files/cronie/run @@ -1,3 +1,3 @@ #!/bin/sh [ -r conf ] && . ./conf -exec cronie-crond -n $OPTS 2>&1 +exec cronie-crond -ns $OPTS 2>&1