diff --git a/xCATsn/xCATsn.spec b/xCATsn/xCATsn.spec index d50e8c463..19fe9e020 100644 --- a/xCATsn/xCATsn.spec +++ b/xCATsn/xCATsn.spec @@ -53,11 +53,25 @@ if [ "$1" = "1" ]; then #Only if installing for the first time.. if ! grep /install /etc/exports; then echo '/install *(ro,no_root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys service nfs restart - chkconfig nfs on fi - - ### Start the xcatd daemon +# makes it a service node + touch /etc/xCATSN +# setup syslog + cp /etc/syslog.conf /etc/syslog.conf.ORIG + echo "*.debug /var/log/localmessages" > /etc/test.tmp + echo "*.crit /var/log/localmessages" >> /etc/test.tmp + cat /etc/test.tmp >> /etc/syslog.conf + rm /etc/test.tmp + touch /var/log/localmessages + + /etc/rc.d/init.d/syslog stop + /etc/rc.d/init.d/syslog start + + + + +### Start the xcatd daemon XCATROOT=$RPM_INSTALL_PREFIX0 /etc/init.d/xcatd start service httpd restart