add restartxcatd SF defect 3203

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-11-29 17:06:25 +00:00
parent 1fdad5c12f
commit c756bf2cf3

View File

@ -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