1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-03 10:49:17 +00:00
2016-05-29 02:17:24 +02:00

6 lines
178 B
Bash

#!/bin/sh
touch /var/run/nginx.pid
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs /www
chmod -R 700 /certs
su-exec $UID:$GID nginx