Use exec in wrapper scripts

This commit is contained in:
Alvaro Aleman
2016-08-29 22:07:53 +02:00
parent a5061c81b1
commit 2dc2b073e4
10 changed files with 10 additions and 10 deletions

View File

@ -2,4 +2,4 @@
addgroup -g ${GID} lychee && adduser -h /lychee -s /bin/sh -D -G lychee -u ${UID} lychee
mkdir /lychee/uploads/big /lychee/uploads/import /lychee/uploads/medium /lychee/uploads/thumb
chown -R lychee:lychee /lychee /var/run/php-fpm.sock /var/lib/nginx /tmp
supervisord -c /usr/local/etc/supervisord.conf
exec supervisord -c /usr/local/etc/supervisord.conf