Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
5450624a
Commit
5450624a
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added selinux rules for gliders dirs
parent
94d4cc3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
install.sh
install.sh
+11
-0
No files found.
install.sh
View file @
5450624a
...
...
@@ -173,3 +173,14 @@ echo '::1 dev.gliders.localhost gliders.localhost' >> /etc/hosts
# cd -
# cp hhvm.service /etc/systemd/system/
# systemctl enable hhvm
# Create gliders dirs and allow the webserver to read/write to them
# (Mostly this sets up SELinux rules)
mkdir
-p
/var/gliders/www_dev /var/gliders/www /var/gliders/incoming /var/gliders/logs /var/gliders/static /var/gliders/daemon/logs
chown
-R
gliders /var/gliders
setsebool
-P
httpd_can_network_connect 1
chcon
-R
-t
httpd_sys_rw_content_t /var/gliders/www
chcon
-R
-t
httpd_sys_rw_content_t /var/gliders/www_dev
chcon
-R
-t
httpd_sys_rw_content_t /var/gliders/incoming
chcon
-R
-t
httpd_sys_rw_content_t /var/gliders/static
chcon
-R
-t
httpd_sys_content_t /var/gliders/logs
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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