1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-01 09:49:21 +00:00

6 lines
170 B
Bash
Raw Normal View History

2016-04-11 15:59:32 +02:00
#!/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
chmod -R 700 /certs
gosu $UID:$GID nginx