diff --git a/xCATsn/xCATsn.spec b/xCATsn/xCATsn.spec index a76cb03e4..99760ab64 100644 --- a/xCATsn/xCATsn.spec +++ b/xCATsn/xCATsn.spec @@ -138,13 +138,17 @@ else # SuSE apachedaemon='apache2' fi -# start xcatd +# start xcatd on linux chkconfig $apachedaemon on if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image XCATROOT=$RPM_INSTALL_PREFIX0 /etc/init.d/xcatd restart /etc/init.d/$apachedaemon reload fi echo "xCATsn is now installed" +%else +# start xcatd on AIX + XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd + %endif fi