mirror of
https://github.com/3-w-c/docker-simplesamlphp.git
synced 2026-08-18 23:05:50 +00:00
Move logging directory ownership setting from dockerfile to install script
This commit is contained in:
+1
-2
@@ -29,8 +29,7 @@ RUN curl -Lo /var/simplesamlphp.tar.gz https://github.com/simplesamlphp/simplesa
|
||||
&& tar xzf /var/simplesamlphp.tar.gz --directory /var \
|
||||
&& mv /var/simplesamlphp-* /var/simplesamlphp \
|
||||
&& touch /var/simplesamlphp/cert/breadcrumb \
|
||||
&& touch /var/simplesamlphp/log/breadcrumb \
|
||||
&& chown -Rv nginx:nginx /var/simplesamlphp/log/
|
||||
&& touch /var/simplesamlphp/log/breadcrumb
|
||||
|
||||
#Redirect NGINX Logs
|
||||
RUN ln -sf /dev/stdout /var/opt/rh/rh-nginx114/log/nginx/access.log \
|
||||
|
||||
@@ -283,7 +283,7 @@ if [ "$CONFIG_STORETYPE" == "memcache" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
chown php-fpm:php-fpm /var/simplesamlphp/log/
|
||||
chown nginx:nginx /var/simplesamlphp/log/
|
||||
|
||||
touch /var/simplesamlphp/config/.dockersetupdone
|
||||
|
||||
|
||||
Reference in New Issue
Block a user