summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2012-05-14 13:53:13 -0400
committerMatthew Thode <prometheanfire@gentoo.org>2012-05-14 13:53:13 -0400
commitae514a9a283fef959688aef5266cb6572e73f469 (patch)
treea97d4245cb19e0c7111658c6e172633a036aa504 /net-analyzer/icinga/files
parentsync with gentoo tree, so I can start working on icinga 1.7 (diff)
downloadprometheanfire-ae514a9a283fef959688aef5266cb6572e73f469.tar.gz
prometheanfire-ae514a9a283fef959688aef5266cb6572e73f469.tar.bz2
prometheanfire-ae514a9a283fef959688aef5266cb6572e73f469.zip
first test commit of icinga 1.7.0_beta1
Diffstat (limited to 'net-analyzer/icinga/files')
-rwxr-xr-xnet-analyzer/icinga/files/icinga-init.d-24
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/icinga/files/icinga-init.d-2 b/net-analyzer/icinga/files/icinga-init.d-2
index 683e52c..5ed3fb0 100755
--- a/net-analyzer/icinga/files/icinga-init.d-2
+++ b/net-analyzer/icinga/files/icinga-init.d-2
@@ -29,13 +29,13 @@ start() {
checkpath -d -o icinga:icinga /tmp/icinga /var/run/icinga /var/log/icinga /var/lib/icinga
checkpath -f -o icinga:icinga /var/log/icinga/icinga.log
rm -f /var/lib/icinga/rw/icinga.cmd
- start-stop-daemon --start --exec /usr/sbin/icinga -e HOME="/var/lib/icinga/home" --pidfile /var/run/icinga/icinga.lock -- -d /etc/icinga/icinga.cfg
+ start-stop-daemon --start --exec /usr/sbin/icinga -e HOME="/var/lib/icinga/home" --pidfile /var/run/icinga/icinga.pid -- -d /etc/icinga/icinga.cfg
eend $?
}
stop() {
ebegin "Stopping icinga"
- start-stop-daemon --stop --pidfile /var/run/icinga/icinga.lock
+ start-stop-daemon --stop --pidfile /var/run/icinga/icinga.pid
rm -f /var/lib/icinga/status.log /var/run/icinga/icinga.lock /var/lib/icinga/rw/icinga.cmd
rm -r /tmp/icinga
eend $?