We are hiring ! See our job offers.
swh:1:snp:0c004a03453a29b80f921a24433f7e780b9ceb53
Raw File
Tip revision: 196f3db2382e89502f3d95664a7f0bee36af7287 authored by Alexey Sergushichev on 20 July 2020, 21:37:31 UTC
version bump
Tip revision: 196f3db
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


back to top