diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-10 13:06:18 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-10 13:06:18 +0300 |
commit | 2cda612deef1b74988a2554defd83e33e7feff47 (patch) | |
tree | 51d49caafc19cbccdf98caa864ce2a0d8b9c4c1e | |
parent | c9303c7eb5a3a3c8f98f25cae106b73a78b60d51 (diff) | |
download | repository-2cda612deef1b74988a2554defd83e33e7feff47.tar.gz |
fix scron runit service
-rw-r--r-- | extra/scron/checksums | 2 | ||||
-rw-r--r-- | extra/scron/files/scron.run | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/extra/scron/checksums b/extra/scron/checksums index 374072f7..59ac3136 100644 --- a/extra/scron/checksums +++ b/extra/scron/checksums @@ -1,2 +1,2 @@ 4ae8225a3991e42e29791d981192c9daf5b9b02609f68775768fe1598ae2ce18 scron-0.4.tar.gz -c2801b0ed1b180f34fd8c0a858107ddf7e24c5354ac53a83a85c5877d4fb14ee scron.run +409f77fe6f29a7d0115ff0c8627e8e0ad237c94f83a527e86261cd5ae01e524c scron.run 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 |