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 /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
|
||||
RUN chown -R apache:apache /var/www
|
||||
# Make sure apache can read&right to logs
|
||||
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 ###
|
||||
USER apache
|
||||
|
||||
|
|
|
|||
2
run.sh
2
run.sh
|
|
@ -13,7 +13,7 @@ rc-service syslog restart
|
|||
# Restart the kernel log deamon
|
||||
rc-service klogd restart
|
||||
|
||||
# Start the cron deamon by default
|
||||
# Start cron by default
|
||||
rc-update add crond default && rc-service crond start
|
||||
# Start Apache by default
|
||||
rc-update add httpd default && rc-service httpd start
|
||||
|
|
|
|||
Loading…
Reference in New Issue