mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user