(file) Return to pegasus CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/pegasus between version 1.2 and 1.2.2.1

version 1.2, 2001/06/27 22:32:40 version 1.2.2.1, 2001/10/04 09:29:45
Line 14 
Line 14 
 # Required-Stop: $network # Required-Stop: $network
 # Default-Start: 3 5 # Default-Start: 3 5
 # Default-Stop: 0 1 2 6 # Default-Stop: 0 1 2 6
 # Description: Start the sshd daemon  # Description: Start the cimom daemon
 ### END INIT INFO ### END INIT INFO
  
 . /etc/rc.status . /etc/rc.status
Line 47 
Line 47 
         ## Start daemon with startproc(8). If this fails         ## Start daemon with startproc(8). If this fails
         ## the echo return value is set appropriate.         ## the echo return value is set appropriate.
  
         #startproc /usr/local/bin/cimserver          #startproc /usr/bin/cimserver
         export PEGASUS_HOME=/etc/pegasus         export PEGASUS_HOME=/etc/pegasus
         cimserver -logdir /var/pegasus -d         cimserver -logdir /var/pegasus -d
  
Line 59 
Line 59 
         ## Stop daemon with killproc(8) and if this fails         ## Stop daemon with killproc(8) and if this fails
         ## set echo the echo return value.         ## set echo the echo return value.
  
         #killproc -INT /usr/local/bin/cimserver          #killproc -INT /usr/bin/cimserver
         killall -2 cimserver         killall -2 cimserver
  
         # Remember status and be verbose         # Remember status and be verbose
Line 75 
Line 75 
         ;;         ;;
     reload)     reload)
         echo -n "Reload service PEGASUS"         echo -n "Reload service PEGASUS"
         #killproc -p /var/run/pegasus.pid -HUP /usr/local/bin/cimserver          #killproc -p /var/run/pegasus.pid -HUP /usr/bin/cimserver
         $0 stop  &&  $0 start         $0 stop  &&  $0 start
         #         #
         rc_status -v         rc_status -v
         ;;         ;;
     status)     status)
         echo -n "Checking for service PEGASUS: "         echo -n "Checking for service PEGASUS: "
         checkproc /usr/local/bin/cimserver && echo OK || echo No process          checkproc /usr/bin/cimserver && echo OK || echo No process
         ;;         ;;
     *)     *)
         echo "Usage: $0 {start|stop|status|restart|reload}"         echo "Usage: $0 {start|stop|status|restart|reload}"


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2