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
88bb0606
Commit
88bb0606
authored
Jan 16, 2019
by
Maria Arsuaga Rios
Browse files
Update fts-rest.spec
parent
244becfd
Pipeline
#662141
passed with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packaging/rpm/fts-rest.spec
View file @
88bb0606
...
...
@@ -134,14 +134,13 @@ Requires: python-sqlalchemy0.8
%description -n python-fts
This package provides an object model of the FTS3
database, using sqlalchemy ORM.
%if %{?rhel}%{!?rhel:0} >= 7
%files
%{_prefix}/lib/firewalld/services
%config(noreplace) %{_sysconfdir}/fts3/fts3rest.xml
%post
%firewalld_reload
%endif
%post
/sbin/service httpd condrestart >/dev/null 2>&1 || :
if [ "$1" -eq "2" ]; then # Upgrade
...
...
@@ -149,6 +148,10 @@ if [ "$1" -eq "2" ]; then # Upgrade
chown fts3.fts3 /var/log/fts3rest
chown fts3.fts3 /var/log/fts3rest/fts3rest.log || true
fi
%if %{?rhel}%{!?rhel:0} >= 7
%firewalld_reload
%endif
%postun
if [ "$1" -eq "0" ] ; then
...
...
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