mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
17 lines
291 B
Bash
Executable file
17 lines
291 B
Bash
Executable file
#!/bin/sh
|
|
|
|
touch /var/log/nginx/access.log
|
|
touch /var/log/nginx/error.log
|
|
|
|
tail --follow --retry /var/log/nginx/*.log &
|
|
|
|
UID=${UID:-1000}
|
|
GID=${GID:-1000}
|
|
|
|
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
|