diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-12 16:07:45 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-12 16:01:26 +0200 |
commit | cf657bf09d01bc67e66fb39ce8ebec1ca93cbec1 (patch) | |
tree | 350a8824873c726734372a1c5066d1c04b320a7d /main/nfs-utils/rpc.gssd.initd | |
parent | 28850b3a43930dcaba7ce82fa55bb53853cf412d (diff) | |
download | aports-cf657bf09d01bc67e66fb39ce8ebec1ca93cbec1.tar.bz2 aports-cf657bf09d01bc67e66fb39ce8ebec1ca93cbec1.tar.xz |
main/nfs-utils: rewrite some init scripts to be more declarative
Diffstat (limited to 'main/nfs-utils/rpc.gssd.initd')
-rw-r--r-- | main/nfs-utils/rpc.gssd.initd | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/main/nfs-utils/rpc.gssd.initd b/main/nfs-utils/rpc.gssd.initd index 445d44c444..d58e20aaae 100644 --- a/main/nfs-utils/rpc.gssd.initd +++ b/main/nfs-utils/rpc.gssd.initd @@ -1,23 +1,12 @@ #!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 [ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs +command="/usr/sbin/rpc.gssd" +command_args="$OPTS_RPC_GSSD" + depend() { use ypbind net need portmap rpc.pipefs after quota } - -start() { - ebegin "Starting gssd" - start-stop-daemon --start --exec /usr/sbin/rpc.gssd -- ${OPTS_RPC_GSSD} - eend $? -} - -stop() { - ebegin "Stopping gssd" - start-stop-daemon --stop --exec /usr/sbin/rpc.gssd - eend $? -} |