mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
make it easier to change php configuration
This commit is contained in:
parent
16cb573935
commit
4bb6a21d7c
6 changed files with 71 additions and 0 deletions
|
|
@ -4,6 +4,11 @@ touch /var/log/nginx/access.log
|
|||
touch /var/log/nginx/error.log
|
||||
touch /var/log/cron/owncloud.log
|
||||
|
||||
echo "# Options in here overwrite the builtin php.ini" > /php.ini
|
||||
chmod 0777 /php.ini
|
||||
PHP_INI_DIR="$(php --ini | grep 'Scan' | cut -d ' ' -f7)"
|
||||
ln -s /php.ini "$PHP_INI_DIR/zz_extra.ini"
|
||||
|
||||
HAZE_UID=${HAZE_UID:-www-data}
|
||||
HAZE_GID=${HAZE_GID:-www-data}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue