Permission updates
This commit is contained in:
parent
9a94e371ab
commit
fc816b6735
|
|
@ -78,14 +78,14 @@ RUN \
|
||||||
ln -s /usr/lib/apache2 /usr/local/apache/modules && \
|
ln -s /usr/lib/apache2 /usr/local/apache/modules && \
|
||||||
ln -s /var/log/apache2 /usr/local/apache/logs
|
ln -s /var/log/apache2 /usr/local/apache/logs
|
||||||
|
|
||||||
# PHP-FPM vhost config
|
|
||||||
COPY vhost.conf /etc/apache2/conf.d/vhost.conf
|
|
||||||
|
|
||||||
# Make sure apache can read&right to docroot
|
# Make sure apache can read&right to docroot
|
||||||
RUN chown -R apache:apache /var/www
|
RUN chown -R apache:apache /var/www
|
||||||
# Make sure apache can read&right to logs
|
# Make sure apache can read&right to logs
|
||||||
RUN chown -R apache:apache /var/log/apache2
|
RUN chown -R apache:apache /var/log/apache2
|
||||||
|
|
||||||
|
# PHP-FPM vhost config
|
||||||
|
COPY vhost.conf /etc/apache2/conf.d/vhost.conf
|
||||||
|
|
||||||
### Continue execution as Apache user ###
|
### Continue execution as Apache user ###
|
||||||
USER apache
|
USER apache
|
||||||
|
|
||||||
|
|
|
||||||
2
run.sh
2
run.sh
|
|
@ -13,7 +13,7 @@ rc-service syslog restart
|
||||||
# Restart the kernel log deamon
|
# Restart the kernel log deamon
|
||||||
rc-service klogd restart
|
rc-service klogd restart
|
||||||
|
|
||||||
# Start the cron deamon by default
|
# Start cron by default
|
||||||
rc-update add crond default && rc-service crond start
|
rc-update add crond default && rc-service crond start
|
||||||
# Start Apache by default
|
# Start Apache by default
|
||||||
rc-update add httpd default && rc-service httpd start
|
rc-update add httpd default && rc-service httpd start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue