Revision c6bb0e960554a23eb712690cbd7f8e3f7d79ca0d authored by Alexey Sergushichev on 02 July 2021, 13:19:49 UTC, committed by Alexey Sergushichev on 02 July 2021, 13:19:49 UTC
1 parent 0264dd6
docker-entrypoint.sh
#!/bin/bash
chown -R $OCPU_USER /var/log/apache2
chown -R $OCPU_USER /var/run/apache2
chown -R $OCPU_USER /var/log/opencpu
mkdir -p /run/apache2
chown $OCPU_USER /run/apache2
chown -R $OCPU_USER /var/log/nginx
chown -R $OCPU_USER /var/lib/nginx
touch /run/nginx.pid
chown $OCPU_USER /run/nginx.pid
gosu $OCPU_USER nginx
exec gosu $OCPU_USER apachectl -D FOREGROUND
Computing file changes ...