summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/cron/log/run
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/services/cron/log/run
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/services/cron/log/run')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/cron/log/run5
1 files changed, 5 insertions, 0 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
+