version 1.19, 2004/10/20 22:07:02
|
version 1.20.2.1, 2004/10/25 23:08:20
|
|
|
install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof | install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SampleProviderSchema.mof %SAMPLES_DEST_PATH/Providers/Load/SampleProviderSchema.mof |
install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof | install -D -m 0444 %PEGASUS_STAGING_DIR%PEGASUS_SAMPLES_DIR/Providers/Load/SimpleDisplayConsumerR.mof %SAMPLES_DEST_PATH/Providers/Load/SimpleDisplayConsumerR.mof |
| |
|
cd $RPM_BUILD_ROOT |
rm -Rf $PEGASUS_HOME | rm -Rf $PEGASUS_HOME |
| |
%clean | %clean |
|
|
chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE | chmod 400 %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE |
fi | fi |
| |
# Start the cimserver |
|
(/etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver) >> %INSTALL_LOG 2>&1 |
|
|
|
if [ $? != 0 ]; |
|
then |
|
echo "Brute-starting Pegasus. If the installation fails:" |
|
echo " - Start Pegasus: '/etc/init.d/tog-pegasus start'" |
|
echo " - Run '/opt/tog-pegasus/sbin/init_repository'" |
|
# No need to try it again, since it already failed. |
|
# Just giving the above notice should be sufficent |
|
# /etc/init.d/tog-pegasus start || /opt/tog-pegasus/sbin/cimserver |
|
fi |
|
|
|
echo " To start Pegasus manually:" | echo " To start Pegasus manually:" |
echo " /etc/init.d/tog-pegasus start" | echo " /etc/init.d/tog-pegasus start" |
echo " Stop it:" | echo " Stop it:" |