1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 02:44:42 +00:00
This commit is contained in:
2022-04-29 08:53:19 +07:00
parent 7a6ba238a6
commit f0fa19d3cd
148 changed files with 38214 additions and 91 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
if [ ! -z "$WWWUSER" ]; then
usermod -u $WWWUSER sail
fi
if [ ! -d /.composer ]; then
mkdir /.composer
fi
chmod -R ugo+rw /.composer
if [ $# -gt 0 ]; then
exec gosu $WWWUSER "$@"
else
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi