From c756bf2cf33c49c5bc7d770ecf1d2b3f2ed56ad7 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 29 Nov 2012 17:06:25 +0000 Subject: [PATCH] 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 --- xCATsn/xCATsn.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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