1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

images and linking

This commit is contained in:
Robin Appelman 2021-03-12 21:49:58 +01:00
commit 06c0330de8
16 changed files with 1045 additions and 50 deletions

17
images/php/bootstrap-nginx.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
touch /var/log/nginx/access.log
touch /var/log/nginx/error.log
tail --follow --retry /var/log/nginx/*.log &
UID=${UID:-$(id -u)}
GID=${GID:-$(id -g)}
groupadd -g $GID haze
useradd -u $UID -g $GID haze
cat /usr/local/etc/php-fpm.conf
/usr/local/sbin/php-fpm &
/etc/init.d/nginx start