#! /bin/bash # # easd Start/Stop the CLIP cobra_serv daemon. # # chkconfig: 2345 90 60 # description: cobra-serv is CLIP Object Broker # processname: easd # config: /etc/eas/eas.ini # pidfile: /var/run/crond.pid # Source function library. . /etc/init.d/functions RETVAL=0 # See how we were called. prog="cobra_serv" start() { echo -n $"Starting $prog: " cd /var/log/eas su -c "/usr/lib/clip/cobra//cobra_serv /etc/eas/eas.ini" easserver >>server.log 2>>errors.log