version 1.3, 2003/07/09 19:51:59
|
version 1.4, 2003/11/13 00:24:56
|
|
|
# Author: Konrad Rzeszutek <konradr@us.ibm.com> | # Author: Konrad Rzeszutek <konradr@us.ibm.com> |
# | # |
# Modified By: | # Modified By: |
|
# 10-28-2003: Martin Knipper <knipper@de.ibm.com> |
|
# - Changed the chkconfig runlevel from 2345 to 3 and 5 |
|
# - Fixed a confusing output about syslog when you ask for the status on SuSE |
|
# - The startproc command for stopping pegasus removed |
# | # |
#%///////////////////////////////////////////////////////////////////////////// | #%///////////////////////////////////////////////////////////////////////////// |
# | # |
# | # |
# chkconfig: 2345 26 74 |
# chkconfig: 35 26 74 |
# description: Pegasus CIMOM enables a Linux System for WBEM (visit http://www.dmtf.org for | # description: Pegasus CIMOM enables a Linux System for WBEM (visit http://www.dmtf.org for |
# more information about CIM and WBEM). With appropriate instrumentation | # more information about CIM and WBEM). With appropriate instrumentation |
# Linux can provide systems management information or be managed by a remote | # Linux can provide systems management information or be managed by a remote |
|
|
;; | ;; |
stop) | stop) |
echo -n "Shutting down Pegasus CIMOM daemon " | echo -n "Shutting down Pegasus CIMOM daemon " |
startproc /usr/sbin/cimserver -s |
killproc -TERM /usr/sbin/cimserver |
rc_status -v | rc_status -v |
;; | ;; |
try-restart) | try-restart) |
|
|
rc_status | rc_status |
;; | ;; |
status) | status) |
echo -n "Checking for service syslog:" |
echo -n "Checking for Pegasus CIMOM daemon:" |
checkproc /usr/sbin/cimserver ; rc_status -v | checkproc /usr/sbin/cimserver ; rc_status -v |
;; | ;; |
*) | *) |