10 lines
134 B
Bash
10 lines
134 B
Bash
|
#!/bin/sh
|
||
|
if [ "$UPDATE" = "1" ]
|
||
|
then
|
||
|
cd /www
|
||
|
composer update
|
||
|
else
|
||
|
nginx
|
||
|
/usr/sbin/php-fpm*
|
||
|
exec sleep infinity
|
||
|
fi
|