diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 09:17:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-19 09:17:38 +0000 |
commit | f67f0e7b5a55de967e9a9a50e5ab2f6d20f24650 (patch) | |
tree | e6d442177c77c7a705b8ec3e898d0e3d8c4d1bca /main/dovecot/dovecot.initd | |
parent | eccb1fba3c1d1104bbe9b1cbf2d1356769b8fe9d (diff) | |
download | aports-f67f0e7b5a55de967e9a9a50e5ab2f6d20f24650.tar.bz2 aports-f67f0e7b5a55de967e9a9a50e5ab2f6d20f24650.tar.xz |
main/dovecot: replace opts in init.d script
ref #943
Diffstat (limited to 'main/dovecot/dovecot.initd')
-rw-r--r-- | main/dovecot/dovecot.initd | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd index 8e2075d5a6..b9ef27578a 100644 --- a/main/dovecot/dovecot.initd +++ b/main/dovecot/dovecot.initd @@ -1,9 +1,9 @@ #!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/files/dovecot.init-r2,v 1.3 2010/05/19 13:26:56 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/dovecot/files/dovecot.init-r3,v 1.1 2011/09/17 10:33:38 eras Exp $ -opts="${opts} reload" +extra_started_commands="reload" depend() { need localmount net @@ -53,7 +53,7 @@ stop() { reload() { checkconfig || return 1 ebegin "Reloading ${SVCNAME} configs and restarting auth/login processes" - start-stop-daemon --stop --oknodo --exec /usr/sbin/dovecot \ - --pidfile "${DOVECOT_PIDFILE}" --signal HUP + start-stop-daemon --signal HUP --exec /usr/sbin/dovecot \ + --pidfile "${DOVECOT_PIDFILE}" eend $? } |