3 # lsvcgss Lustre GSS daemon
5 # chkconfig: 2345 10 90
6 # description: start and stop the lsvcgssd daemon
9 # Source function library.
10 . /etc/init.d/functions
12 LOCKFILE="/var/lock/subsys/lsvcgssd"
14 # If service is not configured, launch with all mechs
15 # -k -- Enable kerberos support
16 # -s -- Enable shared key support
17 # -z -- Enable gssnull support
18 LSVCGSSDARGS="-k -s -z"
20 # Check for and source configuration file
21 [ -f /etc/sysconfig/lsvcgss ] && . /etc/sysconfig/lsvcgss
23 # See how we were called.
26 echo $"Starting lsvcgssd"
27 /usr/sbin/lsvcgssd ${LSVCGSSDARGS}
29 [ $RETVAL -eq 0 ] && touch $LOCKFILE
32 echo $"Stopping lsvcgssd"
35 [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
47 echo $"Usage: $0 {start|stop|restart|reload|status}"