version 1.51, 2005/04/29 15:31:15
|
version 1.53, 2005/05/03 05:31:58
|
|
|
cp %PEGASUS_PEM_DIR/truststore-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE | cp %PEGASUS_PEM_DIR/truststore-2048.pem %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE |
chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE | chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE |
fi | fi |
|
if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] |
|
then |
|
# Running Repository Upgrade utility |
|
%PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_REPOSITORY_DIR 2>>%PEGASUS_INSTALL_LOG |
|
fi |
|
|
| |
/usr/lib/lsb/install_initd /etc/init.d/tog-pegasus | /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus |
| |
|
|
isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` | isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"` |
if [ "$isRunning" ]; then | if [ "$isRunning" ]; then |
/opt/tog-pegasus/sbin/cimserver -s | /opt/tog-pegasus/sbin/cimserver -s |
|
fi |
[ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; | [ -f /var/opt/tog-pegasus/cimserver_current.conf ] && rm /var/opt/tog-pegasus/cimserver_current.conf; |
[ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; | [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG; |
[ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository; | [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository; |
[ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache; | [ -d /var/opt/tog-pegasus/cache ] && rm -rf /var/opt/tog-pegasus/cache; |
rm -f /var/run/tog-pegasus/socket/cimxml.socket; | rm -f /var/run/tog-pegasus/socket/cimxml.socket; |
rm -f /var/run/tog-pegasus/cimserver.pid | rm -f /var/run/tog-pegasus/cimserver.pid |
fi |
|
# Delete the Link to the rc.* Startup Directories | # Delete the Link to the rc.* Startup Directories |
/usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; | /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus; |
fi | fi |
|
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimuser | %attr(500,root ,root) /opt/tog-pegasus/sbin/cimuser |
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimprovagt | %attr(500,root ,root) /opt/tog-pegasus/sbin/cimprovagt |
%attr(500,root ,root) /opt/tog-pegasus/sbin/cimservera | %attr(500,root ,root) /opt/tog-pegasus/sbin/cimservera |
|
%attr(500,root ,root) /opt/tog-pegasus/sbin/repupgrade |
%attr(500,root ,root) /opt/tog-pegasus/sbin/init_repository | %attr(500,root ,root) /opt/tog-pegasus/sbin/init_repository |
%attr(500,root ,root) /opt/tog-pegasus/sbin/settogpath | %attr(500,root ,root) /opt/tog-pegasus/sbin/settogpath |
| |