diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2012-07-18 16:27:27 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2012-07-18 16:27:27 +0000 |
commit | ec4b151d0241a296de5b724ac7d5d6b950fc0f59 (patch) | |
tree | 7fae9452b94ff524de05816af16a81e1979c5b08 /sys-apps/newrelic-sysmond | |
parent | Keyword ~mips (diff) | |
download | gentoo-2-ec4b151d0241a296de5b724ac7d5d6b950fc0f59.tar.gz gentoo-2-ec4b151d0241a296de5b724ac7d5d6b950fc0f59.tar.bz2 gentoo-2-ec4b151d0241a296de5b724ac7d5d6b950fc0f59.zip |
fix start-stop-daemon syntax in init script
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/newrelic-sysmond')
-rw-r--r-- | sys-apps/newrelic-sysmond/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sys-apps/newrelic-sysmond/ChangeLog b/sys-apps/newrelic-sysmond/ChangeLog index a6889fad2ffd..7b9d39548ae8 100644 --- a/sys-apps/newrelic-sysmond/ChangeLog +++ b/sys-apps/newrelic-sysmond/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/newrelic-sysmond # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/newrelic-sysmond/ChangeLog,v 1.2 2012/05/24 04:21:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/newrelic-sysmond/ChangeLog,v 1.3 2012/07/18 16:27:27 hollow Exp $ + + 18 Jul 2012; Benedikt Böhm <hollow@gentoo.org> files/newrelic-sysmond.rc: + fix start-stop-daemon syntax in init script 24 May 2012; Mike Frysinger <vapier@gentoo.org> newrelic-sysmond-1.1.2.124.ebuild: diff --git a/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc b/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc index c76a66423aaa..8eeba0ad995a 100644 --- a/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc +++ b/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc,v 1.1 2011/12/05 22:13:35 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/newrelic-sysmond/files/newrelic-sysmond.rc,v 1.2 2012/07/18 16:27:27 hollow Exp $ depend() { use net @@ -9,13 +9,16 @@ depend() { start() { ebegin "Starting NewRelic System Monitor" - start-stop-daemon --quiet --start --user newrelic --exec /usr/sbin/nrsysmond -- \ - -c /etc/newrelic/nrsysmond.cfg -p /var/run/newrelic/nrsysmond.pid + start-stop-daemon --start \ + --user newrelic \ + --exec /usr/sbin/nrsysmond -- \ + -c /etc/newrelic/nrsysmond.cfg \ + -p /var/run/newrelic/nrsysmond.pid eend $? } stop() { ebegin "Stopping NewRelic System Monitor" - start-stop-daemon --quiet --stop --user newrelic --pid-file /var/run/newrelic/nrsysmond.pid + start-stop-daemon --stop --pidfile /var/run/newrelic/nrsysmond.pid eend $? } |