diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-08-18 14:29:19 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-08-18 14:29:19 +0000 |
commit | 68e513fc554f2382077abf5d94e6fc4174decb46 (patch) | |
tree | 2eb39059455eeef7785775c6463a82b54e885636 /app-i18n/multiskkserv/files | |
parent | Stable for x86, wrt bug #428904 (diff) | |
download | gentoo-2-68e513fc554f2382077abf5d94e6fc4174decb46.tar.gz gentoo-2-68e513fc554f2382077abf5d94e6fc4174decb46.tar.bz2 gentoo-2-68e513fc554f2382077abf5d94e6fc4174decb46.zip |
Fix init script not to use deprecated argument
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/multiskkserv/files')
-rw-r--r-- | app-i18n/multiskkserv/files/multiskkserv.initd | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/app-i18n/multiskkserv/files/multiskkserv.initd b/app-i18n/multiskkserv/files/multiskkserv.initd index ee778171b094..f94c2a8316a7 100644 --- a/app-i18n/multiskkserv/files/multiskkserv.initd +++ b/app-i18n/multiskkserv/files/multiskkserv.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/multiskkserv/files/multiskkserv.initd,v 1.3 2004/07/14 21:26:08 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/multiskkserv/files/multiskkserv.initd,v 1.4 2012/08/18 14:29:19 naota Exp $ depend() { need net @@ -17,16 +17,15 @@ start() { ebegin "Starting multiskkserv" start-stop-daemon --start --quiet --background \ --make-pidfile --pidfile /var/run/multiskkserv.pid \ - --startas /usr/sbin/multiskkserv -- \ - -r /usr/share/skk ${SKKJISYO_CDB} + /usr/sbin/multiskkserv -- \ + -r /usr/share/skk ${SKKJISYO_CDB} eend $? } stop() { ebegin "Stopping multiskkserv" - start-stop-daemon --stop --quiet \ + start-stop-daemon --stop --quiet -R 5 \ --pidfile /var/run/multiskkserv.pid \ - --startas /usr/sbin/multiskkserv + --exec /usr/sbin/multiskkserv eend $? - [ -e /var/run/multiskkserv.pid ] && rm /var/run/multiskkserv.pid } |