Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
fbb4c227
Commit
fbb4c227
authored
Jul 10, 2014
by
Alejandro Alvarez Ayllon
Browse files
Added condrestart to post and postun when removing
parent
98376c83
Changes
1
Hide whitespace changes
Inline
Side-by-side
dist/fts-rest.spec
View file @
fbb4c227
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment