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
3de0e927
Commit
3de0e927
authored
Feb 19, 2014
by
Alejandro Alvarez Ayllon
Browse files
FTS-29
: Need to set httpd_setrlimit so Apache can run voms-proxy-init
parent
bcf12b19
Changes
1
Hide whitespace changes
Inline
Side-by-side
dist/fts-rest.spec
View file @
3de0e927
...
...
@@ -72,13 +72,15 @@ so Apache can bind to it.
%post selinux
if [ "$1" -le "1" ] ; then # First install
semanage port -a -t http_port_t -p tcp 8446
setsebool -P httpd_can_network_connect=1
setsebool -P httpd_can_network_connect=1
setsebool -P httpd_setrlimit=1
fi
%preun selinux
if [ "$1" -lt "1" ] ; then # Final removal
semanage port -d -t http_port_t -p tcp 8446
setsebool -P httpd_can_network_connect=0
setsebool -P httpd_setrlimit=0
fi
%prep
...
...
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