summaryrefslogtreecommitdiffstats
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
parent5b60b2a21e504020b1724a2c01c5f398b04b8f79 (diff)
downloadlinhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.zip
linhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.tar.gz
linhes_pkgbuild-39c2b6d5a91924d235fcd803ec3e71ed00cfc468.tar.bz2
runit-scripts: enable cron logging to syslog
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/cron/log/run5
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/cron/run2
3 files changed, 7 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 9e73603..9e6396e 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=66
+pkgrel=67
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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