aboutsummaryrefslogtreecommitdiffstats
path: root/testing/exim/exim.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/exim/exim.initd')
-rw-r--r--testing/exim/exim.initd9
1 files changed, 3 insertions, 6 deletions
diff --git a/testing/exim/exim.initd b/testing/exim/exim.initd
index 3662ebee34..1ba07a6cbe 100644
--- a/testing/exim/exim.initd
+++ b/testing/exim/exim.initd
@@ -1,7 +1,4 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/files/exim.rc7,v 1.2 2011/08/16 16:51:36 idl0r Exp $
extra_started_commands="reload"
@@ -13,18 +10,18 @@ depend() {
start() {
ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --quiet --exec /usr/sbin/exim --pidfile /var/run/${SVCNAME}.pid -- ${EXIM_OPTS:--bd -q15m}
+ start-stop-daemon --start --quiet --exec /usr/sbin/${SVCNAME} --pidfile /var/run/${SVCNAME}.pid -- ${EXIM_OPTS:--bd -q15m}
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid --name exim
+ start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid --name ${SVCNAME}
eend $?
}
reload() {
ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile /var/run/${SVCNAME}.pid --name exim
+ start-stop-daemon --signal HUP --pidfile /var/run/${SVCNAME}.pid --name ${SVCNAME}
eend $?
}