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:
parent
da1e184e42
commit
06c0330de8
16 changed files with 1045 additions and 50 deletions
17
images/php/bootstrap-nginx.sh
Executable file
17
images/php/bootstrap-nginx.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue