php-entrypoint.sh 258 Bytes
Newer Older
Joakim Saario's avatar
Joakim Saario committed
1
2
3
4
#!/bin/bash

set -euo pipefail

Joakim Saario's avatar
Joakim Saario committed
5
6
7
8
sed -ri 's;^(aur_location).*;\1 = https://127.0.0.1:8443;' /aurweb/conf/config

sed -ri 's/(listen).*/\1 = 0.0.0.0:9000/' /etc/php/php-fpm.d/www.conf
sed -ri 's/;?(clear_env).*/\1 = no/' /etc/php/php-fpm.d/www.conf
Joakim Saario's avatar
Joakim Saario committed
9
10

exec "$@"