Don't stop an already running glusterfsd upon upgrade or install.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 338 (rpm post uninstall kills glusterfsd process) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=338
This commit is contained in:
parent
b5fe35e215
commit
c415e5cfb8
@ -161,7 +161,6 @@ find %{buildroot}%{_libdir}/glusterfs -name '*.la' | xargs rm -f
|
||||
|
||||
%preun server
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/service glusterfsd stop &>/dev/null || :
|
||||
/sbin/chkconfig --del glusterfsd
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user