Commit fbb4c227 authored by Alejandro Alvarez Ayllon's avatar Alejandro Alvarez Ayllon
Browse files

Added condrestart to post and postun when removing

parent 98376c83
......@@ -59,6 +59,14 @@ Requires: python-sqlalchemy
This package provides an object model of the FTS3
database, using sqlalchemy ORM.
%post
/sbin/service httpd condrestart >/dev/null 2>&1 || :
%postun
if [ "$1" -eq "0" ] ; then
/sbin/service httpd condrestart >/dev/null 2>&1 || :
fi
%post selinux
if [ "$1" -le "1" ] ; then # First install
semanage port -a -t http_port_t -p tcp 8446
......
Supports Markdown
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