diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2012-04-29 10:29:19 +0000 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2012-04-29 10:29:19 +0000 |
commit | 02824b4c5ff024bcb0d6b3d5d2733026fd6b5d79 (patch) | |
tree | 662a201dab6303c2391789d7b83b7abc490303cd /net-analyzer/nagios-nrpe/files | |
parent | Version bump. (diff) | |
download | gentoo-2-02824b4c5ff024bcb0d6b3d5d2733026fd6b5d79.tar.gz gentoo-2-02824b4c5ff024bcb0d6b3d5d2733026fd6b5d79.tar.bz2 gentoo-2-02824b4c5ff024bcb0d6b3d5d2733026fd6b5d79.zip |
Fix init script to not trigger warnings on newer versions of OpenRC
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nagios-nrpe/files')
-rw-r--r-- | net-analyzer/nagios-nrpe/files/nrpe-nagios3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 b/net-analyzer/nagios-nrpe/files/nrpe-nagios3 index d83171e22fac..28be2b83377f 100644 --- a/net-analyzer/nagios-nrpe/files/nrpe-nagios3 +++ b/net-analyzer/nagios-nrpe/files/nrpe-nagios3 @@ -1,6 +1,6 @@ #!/sbin/runscript -opts="${opts} reload" +extra_started_commands="reload" depend() { need net @@ -9,7 +9,7 @@ depend() { start() { ebegin "Starting nrpe" start-stop-daemon --start --quiet --name nrpe \ - --startas /usr/bin/nrpe \ + --exec /usr/bin/nrpe \ -c nagios:nagios \ -- -c /etc/nagios/nrpe.cfg \ --daemon |