From: Michael Sterrett Date: Tue, 24 Apr 2007 04:06:33 +0000 (+0000) Subject: add patch from Mike Mattie to support starting syslog-ng with a nice value (bug ... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c215771af3eadfc4c9dd1ade92a67bdbc0adca14;p=gentoo.git add patch from Mike Mattie to support starting syslog-ng with a nice value (bug #175639) Package-Manager: portage-2.1.2.2 --- diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index 5cf2b72b26de..030054aeb4f0 100644 --- a/app-admin/syslog-ng/ChangeLog +++ b/app-admin/syslog-ng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/syslog-ng # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.152 2007/03/27 07:38:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.153 2007/04/24 04:06:33 mr_bones_ Exp $ + + 24 Apr 2007; Michael Sterrett + files/syslog-ng.rc6-r1: + add patch from Mike Mattie to support starting syslog-ng with a nice value + (bug #175639) *syslog-ng-2.0.3 (27 Mar 2007) diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest index 2d721d747f44..bc935857af06 100644 --- a/app-admin/syslog-ng/Manifest +++ b/app-admin/syslog-ng/Manifest @@ -26,10 +26,14 @@ AUX syslog-ng.rc6 1615 RMD160 8cb414bc09c48fdb591320203947035f9c32e968 SHA1 3752 MD5 b74c976f08eb333cd29db85f69ba5c36 files/syslog-ng.rc6 1615 RMD160 8cb414bc09c48fdb591320203947035f9c32e968 files/syslog-ng.rc6 1615 SHA256 d4e574597148ae1b7009a9bc14df97c0b7b05e54f61619607e532984b5903b73 files/syslog-ng.rc6 1615 -AUX syslog-ng.rc6-r1 1777 RMD160 e257f249a43dd79a5451ab918dfb2c678069c78b SHA1 11b5984adb1d62056aafb97a9f1cd0c32715d8a6 SHA256 45f791f624e2be8ca86aa4d0419a25004b2ef7419ea64654756a3f3de1214144 -MD5 5cdb80d55345ac370968dd383c7dfac1 files/syslog-ng.rc6-r1 1777 -RMD160 e257f249a43dd79a5451ab918dfb2c678069c78b files/syslog-ng.rc6-r1 1777 -SHA256 45f791f624e2be8ca86aa4d0419a25004b2ef7419ea64654756a3f3de1214144 files/syslog-ng.rc6-r1 1777 +AUX syslog-ng.rc6-r1 1840 RMD160 776af20695bdafffe61bf190d71478476f912390 SHA1 87ec2465c0fff63143334519a5a5fb6194945eb8 SHA256 0ebc3a2a996d0e573f62389df414c11532c011a1ac904f411af119e0658c6404 +MD5 b52797f92d5a756a1f0c56c6a9727b6e files/syslog-ng.rc6-r1 1840 +RMD160 776af20695bdafffe61bf190d71478476f912390 files/syslog-ng.rc6-r1 1840 +SHA256 0ebc3a2a996d0e573f62389df414c11532c011a1ac904f411af119e0658c6404 files/syslog-ng.rc6-r1 1840 +AUX syslog-ng.rc6-r1.orig 1777 RMD160 e257f249a43dd79a5451ab918dfb2c678069c78b SHA1 11b5984adb1d62056aafb97a9f1cd0c32715d8a6 SHA256 45f791f624e2be8ca86aa4d0419a25004b2ef7419ea64654756a3f3de1214144 +MD5 5cdb80d55345ac370968dd383c7dfac1 files/syslog-ng.rc6-r1.orig 1777 +RMD160 e257f249a43dd79a5451ab918dfb2c678069c78b files/syslog-ng.rc6-r1.orig 1777 +SHA256 45f791f624e2be8ca86aa4d0419a25004b2ef7419ea64654756a3f3de1214144 files/syslog-ng.rc6-r1.orig 1777 DIST syslog-ng-1.6.11.tar.gz 712166 RMD160 2ddd5eaae12dbcef4b4e67f83d01a3bab8b2cce0 SHA1 acbee602fd4cb6a1ca40238742642413cd6f1787 SHA256 dd37f1e280bd6c2d66c9a15aa3ee9e209a1b649e3b79e70fee58aea1cb0ea093 DIST syslog-ng-1.6.12.tar.gz 717903 RMD160 b7a091bd2e6cfa1fd6eea50aee2ef016e8df6c40 SHA1 02bf683cd96f0ec213992a41835af04afb1a4ab7 SHA256 4f46f8ba0e96b3fa7657c84fbef104027c8c713d482fbd6357fc21be3768ae6c DIST syslog-ng-1.6.9.tar.gz 765341 RMD160 5220ee5b0859974cdf7e86fd884c1505f91228c6 SHA1 d9e92a9a82fdd5aa4642f0f6b1d164005c91f6f3 SHA256 e7f2d6dbeae17c14245cd20e9893d0144b969d98a29c230d4e8a0c9cc0f7dde9 @@ -50,10 +54,10 @@ EBUILD syslog-ng-2.0.3.ebuild 2207 RMD160 ac1abeaf4107afba7dadbe2ea8f638b9c9b960 MD5 1841e9a7d5abadd74e77073ec03f11b4 syslog-ng-2.0.3.ebuild 2207 RMD160 ac1abeaf4107afba7dadbe2ea8f638b9c9b9607e syslog-ng-2.0.3.ebuild 2207 SHA256 1f2cb43052eec53edb8b101170002c85f8ae333114c2379c288442c26bb6650c syslog-ng-2.0.3.ebuild 2207 -MISC ChangeLog 20382 RMD160 0b0d7f62702c9426bf6c0de50839e09a41851565 SHA1 2ec30fd45295c73ac660cac4d4cb411e0e0bd3c2 SHA256 b0ab67d3d3dc4e79dcee0b3aec74c5fad0ec9bccfa07c2366c676724dfbb67c3 -MD5 597bf78906543404bd0705c81e3dc8e7 ChangeLog 20382 -RMD160 0b0d7f62702c9426bf6c0de50839e09a41851565 ChangeLog 20382 -SHA256 b0ab67d3d3dc4e79dcee0b3aec74c5fad0ec9bccfa07c2366c676724dfbb67c3 ChangeLog 20382 +MISC ChangeLog 20557 RMD160 aae1631812b1f2c2f76f47a289a514a0e3c59842 SHA1 d26ac5dc8b283fca9d29d8ef395077367ff9db56 SHA256 e25f7b1a679667bb700368c6cd6a75e87c06b525b1f6c3d77571a40b7d17627d +MD5 128d966a1e1985161ea9143e866c83c5 ChangeLog 20557 +RMD160 aae1631812b1f2c2f76f47a289a514a0e3c59842 ChangeLog 20557 +SHA256 e25f7b1a679667bb700368c6cd6a75e87c06b525b1f6c3d77571a40b7d17627d ChangeLog 20557 MISC metadata.xml 255 RMD160 53f4041a04a683c1e6380721a5207730d986491f SHA1 6321fb4f7568a7f34494c3b8296c7c4d656a8dde SHA256 dbf6d5b64056da60b0e445af0dadc10592b84ed97e38b9c95acb9d723dcc98a3 MD5 ac145feedb4b5bc6a7ea80d08994c5aa metadata.xml 255 RMD160 53f4041a04a683c1e6380721a5207730d986491f metadata.xml 255 diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6-r1 b/app-admin/syslog-ng/files/syslog-ng.rc6-r1 index a3026104cef3..96e7b1455df6 100644 --- a/app-admin/syslog-ng/files/syslog-ng.rc6-r1 +++ b/app-admin/syslog-ng/files/syslog-ng.rc6-r1 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6-r1,v 1.3 2007/03/14 09:56:00 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6-r1,v 1.4 2007/04/24 04:06:33 mr_bones_ Exp $ opts="checkconfig reload" @@ -32,8 +32,10 @@ checkconfig() { start() { checkconfig || return 1 ebegin "Starting syslog-ng" - [ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}" - start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} + [[ -n ${SYSLOG_NG_OPTS} ]] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}" + start-stop-daemon --nicelevel ${SYSLOG_NG_NICELEVEL:-0} \ + --start --quiet \ + --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS} eend $? "Failed to start syslog-ng" }