summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2015-09-23 16:48:50 -0400
committerZero_Chaos <zerochaos@gentoo.org>2015-09-23 16:49:05 -0400
commit0245edac02246e3a6ace4162546a4e286e5f7044 (patch)
tree40f91775a5fe48fb3ed2325d45c535e9bc4e08db /net-voip/yate/files
parentdev-haskell/persistent-sqlite: fix USE=build-sanity-exe, bug #561274 (diff)
downloadgentoo-0245edac02246e3a6ace4162546a4e286e5f7044.tar.gz
gentoo-0245edac02246e3a6ace4162546a4e286e5f7044.tar.bz2
gentoo-0245edac02246e3a6ace4162546a4e286e5f7044.zip
net-voip/yate: fix init script, bug #547346
Diffstat (limited to 'net-voip/yate/files')
-rw-r--r--net-voip/yate/files/yate.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-voip/yate/files/yate.initd b/net-voip/yate/files/yate.initd
index 01f07f4a538d..8c3e402ca016 100644
--- a/net-voip/yate/files/yate.initd
+++ b/net-voip/yate/files/yate.initd
@@ -1,9 +1,9 @@
#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-opts="${opts} reload"
+extra_started_commands="reload"
YATE_PIDFILE=${YATE_PIDFILE:-/var/run/${SVCNAME}.pid}
YATE_BINARY=${YATE_BINARY:-/usr/bin/yate}
@@ -28,7 +28,7 @@ stop() {
reload() {
ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --stop --exec "${YATE_BINARY}" \
- --pidfile "${YATE_PIDFILE}" --signal HUP --oknodo
+ start-stop-daemon --signal HUP --exec "${YATE_BINARY}" \
+ --pidfile "${YATE_PIDFILE}"
eend $?
}