summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-05-12 20:59:20 +0000
committerThilo Bangert <bangert@gentoo.org>2009-05-12 20:59:20 +0000
commita4237ea406f3cc2813677f0bbc7ae3c86e52202b (patch)
tree0d311e1bb72cbbf8904ac4fd95e80cb8e1a00941 /sys-process
parentBug 265912 fixed. Removing mask. (diff)
downloadhistorical-a4237ea406f3cc2813677f0bbc7ae3c86e52202b.tar.gz
historical-a4237ea406f3cc2813677f0bbc7ae3c86e52202b.tar.bz2
historical-a4237ea406f3cc2813677f0bbc7ae3c86e52202b.zip
make log file configurable - bug #235212
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/dcron/ChangeLog6
-rw-r--r--sys-process/dcron/Manifest6
-rw-r--r--sys-process/dcron/files/dcron.confd4
-rwxr-xr-xsys-process/dcron/files/dcron.init4
4 files changed, 14 insertions, 6 deletions
diff --git a/sys-process/dcron/ChangeLog b/sys-process/dcron/ChangeLog
index 3cd84a203482..047e7ce8fdb6 100644
--- a/sys-process/dcron/ChangeLog
+++ b/sys-process/dcron/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-process/dcron
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/ChangeLog,v 1.13 2009/05/12 09:18:28 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/ChangeLog,v 1.14 2009/05/12 20:59:20 bangert Exp $
+
+ 12 May 2009; Thilo Bangert <bangert@gentoo.org> files/dcron.confd,
+ files/dcron.init:
+ make log file configurable - bug #235212
12 May 2009; Thilo Bangert <bangert@gentoo.org> files/crontab:
reduce chance of race condition - bug #98189
diff --git a/sys-process/dcron/Manifest b/sys-process/dcron/Manifest
index 05d1dd42385f..0bef5b6af29b 100644
--- a/sys-process/dcron/Manifest
+++ b/sys-process/dcron/Manifest
@@ -4,10 +4,10 @@ AUX dcron-2.9-EDITOR.patch 634 RMD160 d7adf079a79d3d5a7e56f33cd28bd8003a9da6f8 S
AUX dcron-2.9-Makefile.patch 629 RMD160 a8024950f23725ed289bb48828c9939e75cf23c3 SHA1 92322fe501e4ee949c79a1f74fb08d220aac9210 SHA256 d064a108c00470e7e7a4ce9bfaf4accae15d4faf5014d032cee9b7836c51dd06
AUX dcron-3.2-build.patch 328 RMD160 c7ed770e70646608d6846fe2b166ad1e73fb4e75 SHA1 004e08fb5f5b6098c89036fde58072cc2b129494 SHA256 7ad867a4eeaba9da48a7ae921ae8ae5debf7550c3f4ccc125937dfd25a648f3f
AUX dcron-3.2-pidfile.patch 412 RMD160 343e13b8d6398a464cd38cc6802eb97d357b57d1 SHA1 595415f8661d2259ecdc63edbebe27217ff40345 SHA256 99fbbeb7d6fe91c778a2243130a0155b7a467cae5ca6e13858ffc14a2c83bf08
-AUX dcron.confd 73 RMD160 8fca9ee87632bc3d0d8bddbe23e7685ba4779328 SHA1 a00078f03365bb71ced67c9dd050517f08dbed77 SHA256 40f0d66acfc55d8f54ffa6140587350f7f01e911ef104b9ec0555375e9ef0c3d
-AUX dcron.init 571 RMD160 767feb66c11549504990ac9a5c1b92dfccc9fbc1 SHA1 47618b43e4fa4a5b5259f8c021c2df29772b875e SHA256 2437973c05156a221a26cbf5e0b493157bf07adb693facce2aa12a94150b0e49
+AUX dcron.confd 204 RMD160 5cda3c81b292886365441231522b00ced2323c03 SHA1 d8b7ab7f00c5327cb1a97981c499a390b9d04ab6 SHA256 397514b567fb6140bcb5b2292f84d25691a0eccc210edf0c56f2c2de4224576a
+AUX dcron.init 586 RMD160 3118cb590a85cc88f435fa72f472dc73995496b0 SHA1 234e0e1fce9fff3b7f837ad34e0dc4444916d6f5 SHA256 53c6d41df259fafb4852bada06325e16c40f8dabd0ecc694b3d0f29e49496d6f
AUX dcron.logrotate 36 RMD160 c7fd6d92edb921054e202653ac57e89bdefbb0fe SHA1 1899ab7fd369e3b1d52bec65438b99e6ff0cb995 SHA256 fbbf3b7ff15e3dc5f8de63f621240cbab96ca9b2b3935284fbdd63cc6d16a3c8
DIST dcron32.tgz 22184 RMD160 202036b917fd4fd48fe0a7d057d7dc5ae4c64ac5 SHA1 9ad539a5256684b86183cb51d92faf4dc40f179b SHA256 3236828eeead5ca3f4c4abef1c0ad0305582158eb5492aac6d34912e407f5318
EBUILD dcron-3.2.ebuild 1236 RMD160 cd5b0ffeaa828b5997ec32112ecdbbb38a8fbe0d SHA1 f29804a5676cda2713af0497749f500899d6f6ca SHA256 30b3859f778f0db0f275abb78333f218d812355b073276f9402479800a835d31
-MISC ChangeLog 7397 RMD160 7836e6296341a4fe36ef48115ea412c9c00b4163 SHA1 5e4a4cc88c07bdb05e3a4465a78ce452c29b5939 SHA256 e7977af943fbebc75e5e8e61da94f839a7f321a5da5bd8631339a90180497758
+MISC ChangeLog 7530 RMD160 a1c34bec5f0c511a939c0cb5f840a39ebee3ade2 SHA1 8f33a1d11aa5501ff0abc62c47a849df99a0f6dc SHA256 8db92ae9d7047cc8507e10505298e0df066dcab92f8e2cd87c1e792a559ee98d
MISC metadata.xml 218 RMD160 c01fda1af815f11fe07be1a02118ff1821860881 SHA1 ba2b3b173b49038884e1b9817f6a8980e7588bea SHA256 62f3785bfb158584115c7a514f8a0163340a675605512239037efa79529348ee
diff --git a/sys-process/dcron/files/dcron.confd b/sys-process/dcron/files/dcron.confd
index f895bd7013e3..48b41577679d 100644
--- a/sys-process/dcron/files/dcron.confd
+++ b/sys-process/dcron/files/dcron.confd
@@ -2,3 +2,7 @@
# Options to pass to dcron at startup
DCRON_OPTS=""
+
+# Logfile to send log output to
+# Default is /var/log/cron.log, set to /dev/null to disable logging
+DCRON_LOG="/var/log/cron.log"
diff --git a/sys-process/dcron/files/dcron.init b/sys-process/dcron/files/dcron.init
index bf151c38b771..9210285a3195 100755
--- a/sys-process/dcron/files/dcron.init
+++ b/sys-process/dcron/files/dcron.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/files/dcron.init,v 1.2 2005/09/14 02:52:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/files/dcron.init,v 1.3 2009/05/12 20:59:20 bangert Exp $
depend() {
use logger clock hostname
@@ -10,7 +10,7 @@ depend() {
start() {
ebegin "Starting dcron"
- /usr/sbin/crond ${DCRON_OPTS} >> /var/log/cron.log 2>&1
+ /usr/sbin/crond ${DCRON_OPTS} >> ${DCRON_LOG:=/var/log/cron.log} 2>&1
eend $?
}