- printf " idmapd"
- start-stop-daemon --start --quiet \
- --make-pidfile --pidfile $IDMAPD_PIDFILE \
- --exec /usr/sbin/rpc.idmapd
+ if [ "$NEED_IDMAPD" = yes ]
+ then
+ printf " idmapd"
+ start-stop-daemon --start --quiet \
+ --make-pidfile --pidfile $IDMAPD_PIDFILE \
+ --exec /usr/sbin/rpc.idmapd
+ fi
+ if [ "$NEED_GSSD" = yes ]
+ then
+ printf " gssd"
+ start-stop-daemon --start --quiet \
+ --make-pidfile --pidfile $GSSD_PIDFILE \
+ --exec /usr/sbin/rpc.gssd -- $RPCGSSDOPTS
+ fi