chown letsencrypt files at startup to ensure correct permissions

This commit is contained in:
Matthew Wild 2020-02-21 16:57:56 +00:00
parent 1f15d6f886
commit 3c3c2d34ab
1 changed files with 2 additions and 0 deletions

View File

@ -39,4 +39,6 @@ fi
install -o letsencrypt -g letsencrypt -m 750 -d /var/lib/letsencrypt;
install -o letsencrypt -g letsencrypt -m 750 -d /var/log/letsencrypt;
chown -R letsencrypt:letsencrypt /snikket/letsencrypt
exec supervisord -c /etc/supervisor/supervisord.conf