From 2cda612deef1b74988a2554defd83e33e7feff47 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 10 Dec 2019 13:06:18 +0300 Subject: fix scron runit service --- extra/scron/files/scron.run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extra/scron/files') diff --git a/extra/scron/files/scron.run b/extra/scron/files/scron.run index 041cdf0b..945e8e9d 100644 --- a/extra/scron/files/scron.run +++ b/extra/scron/files/scron.run @@ -1,2 +1,3 @@ #!/bin/sh -exec scrond -n >>/var/log/cron 2>&1 +! [ -e /etc/crontab ] && printf "-> /etc/crontab not found\\n" && exit 1 +exec crond -n >>/var/log/cron 2>&1 -- cgit v1.2.3