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

@ -1,4 +1,4 @@
#!/bin/sh
addgroup -g ${GID} rainloop && adduser -h /rainloop -s /bin/sh -D -G rainloop -u ${UID} rainloop
chown -R rainloop:rainloop /rainloop /var/run/php-fpm.sock /var/lib/nginx /tmp
supervisord -c /usr/local/etc/supervisord.conf
exec supervisord -c /usr/local/etc/supervisord.conf