5 lines
158 B
Bash
Raw Normal View History

2016-05-29 02:09:20 +02:00
#!/bin/sh
2016-05-31 18:22:11 +02:00
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs /www /tmp
2016-05-29 02:09:20 +02:00
chmod -R 700 /certs
su-exec $UID:$GID nginx