Commit 23bfa2cf authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1233] Added clean exits so that uninstalls and such occur regardless of init status.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9728 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9ed3ba13
......@@ -81,6 +81,8 @@ if [ "$1" == "0" ]; then
/sbin/chkconfig --del openfire
[ -x "/etc/init.d/openfire" ] && /etc/init.d/openfire stop
fi
# Force a happy exit even if openfire shutdown script didn't exit cleanly.
exit 0
%post
chown -R daemon:daemon %{homedir}
......@@ -92,6 +94,9 @@ fi
# Trigger a restart.
[ -x "/etc/init.d/openfire" ] && /etc/init.d/openfire condrestart
# Force a happy exit even if openfire condrestart script didn't exit cleanly.
exit 0
%files
%defattr(-,daemon,daemon)
%dir %{homedir}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment