chiliproj/chiliproj.spec

changeset 766
fd2bc92f4dee
parent 765
5be956b2db74
child 767
3ee660c5bc4f
equal deleted inserted replaced
1:6581e089a701 2:a1dc1ee02106
360 $RPM_INSTALL_PREFIX/lib/chiliproj/log/production.log \ 360 $RPM_INSTALL_PREFIX/lib/chiliproj/log/production.log \
361 $RPM_INSTALL_PREFIX/lib/chiliproj/config/initializers/session_store.rb \ 361 $RPM_INSTALL_PREFIX/lib/chiliproj/config/initializers/session_store.rb \
362 $RPM_INSTALL_PREFIX/lib/chiliproj/db/* \ 362 $RPM_INSTALL_PREFIX/lib/chiliproj/db/* \
363 $RPM_INSTALL_PREFIX/lib/chiliproj/db/*/* 363 $RPM_INSTALL_PREFIX/lib/chiliproj/db/*/*
364 ) || exit $? 364 ) || exit $?
365 echo 'ChiliProject installation done.'
365 fi 366 fi
366 # after upgrade, restart service 367 # after upgrade, restart service
367 [ $1 -eq 2 ] || exit 0 368 [ $1 -eq 2 ] || exit 0
368 eval `%{l_rc} chiliproj status 2>/dev/null` 369 eval `%{l_rc} chiliproj status 2>/dev/null`
369 [ ".$chiliproj_active" = .yes ] && %{l_rc} chiliproj restart 370 [ ".$chiliproj_active" = .yes ] && %{l_rc} chiliproj restart

mercurial