summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-09-03 17:02:56 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-09-03 17:02:56 (GMT)
commit39c2b6d5a91924d235fcd803ec3e71ed00cfc468 (patch)
tree7883ef4f42d39d2dd15bc246fe9535b6a8344e79 /abs/core/runit-scripts/runitscripts
parent5b60b2a21e504020b1724a2c01c5f398b04b8f79 (diff)
downloadlinhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.zip
linhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.tar.gz
linhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.tar.bz2
runit-scripts: enable cron logging to syslog
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/cron/log/run5
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/cron/run2
2 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/cron/log/run b/abs/core/runit-scripts/runitscripts/services/cron/log/run
new file mode 100755
index 0000000..9dd37e3
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/cron/log/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+. /etc/systemconfig
+ /usr/bin/logger -p local6.info -t cron
+
diff --git a/abs/core/runit-scripts/runitscripts/services/cron/run b/abs/core/runit-scripts/runitscripts/services/cron/run
index 0894236..3d358d3 100755
--- a/abs/core/runit-scripts/runitscripts/services/cron/run
+++ b/abs/core/runit-scripts/runitscripts/services/cron/run
@@ -6,4 +6,4 @@ stat_runit "Starting Cron"
exec 2>&1
-exec /usr/sbin/crond -f >/dev/null 2>/dev/null
+exec /usr/sbin/crond -f -M /dev/null -l info