3 # dlife.rc This shell script takes care of starting and stopping
6 # chkconfig: 2345 80 30
7 # description: The Distributed Artificial Life client.
8 # processname: dlife_soup
9 # config: /etc/dlife/soup.conf
11 # Source function library.
12 . /etc/init.d/functions
14 # Source networking configuration.
15 . /etc/sysconfig/network
17 # Check that networking is up.
18 [ ${NETWORKING} = "no" ] && exit 0
20 [ -f /usr/bin/dlife_soup ] || exit 0
22 # See how we were called.
26 echo -n "Starting dlife: "
27 daemon /usr/bin/dlife_soup
32 echo -n "Shutting down dlife: "
44 echo "Usage: dlife.rc {start|stop|restart|status}"