Fix docker entrypoint

pull/8756/head
Cyril Rohr 4 years ago committed by Markus Kahl
parent 3c85d22f3b
commit 4a5ba05950
  1. 5
      docker/entrypoint.sh

@ -39,7 +39,10 @@ fi
if [ "$(id -u)" = '0' ]; then if [ "$(id -u)" = '0' ]; then
mkdir -p $APP_DATA_PATH/{files,git,svn} mkdir -p $APP_DATA_PATH/{files,git,svn}
chown -R $APP_USER:$APP_USER $APP_DATA_PATH /etc/apache2/sites-enabled/ chown -R $APP_USER:$APP_USER $APP_DATA_PATH
if [ -d /etc/apache2/sites-enabled ]; then
chown -R $APP_USER:$APP_USER /etc/apache2/sites-enabled
fi
# Clean up any dangling PID file # Clean up any dangling PID file
rm -f $APP_PATH/tmp/pids/* rm -f $APP_PATH/tmp/pids/*

Loading…
Cancel
Save