fix: packaging scripts and config
Cadoles/bouncer/pipeline/head This commit looks good
Details
Cadoles/bouncer/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e66938f1d3
commit
8f0501b445
|
@ -20,14 +20,15 @@ admin:
|
||||||
debug: false
|
debug: false
|
||||||
auth:
|
auth:
|
||||||
issuer: http://127.0.0.1:8081
|
issuer: http://127.0.0.1:8081
|
||||||
privateKey: admin-key.json
|
privateKey: /etc/bouncer/admin-key.json
|
||||||
proxy:
|
proxy:
|
||||||
http:
|
http:
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 8080
|
port: 8080
|
||||||
database:
|
redis:
|
||||||
driver: sqlite
|
addresses:
|
||||||
dsn: sqlite://bouncer.sqlite?_pragma=foreign_keys(1)&_pragma=busy_timeout=10000
|
- localhost:6379
|
||||||
|
master: ""
|
||||||
logger:
|
logger:
|
||||||
level: 1
|
level: 1
|
||||||
format: human
|
format: human
|
|
@ -28,7 +28,7 @@ cleanInstall() {
|
||||||
|
|
||||||
service ${service_name} restart || :
|
service ${service_name} restart || :
|
||||||
else
|
else
|
||||||
if [[ "${systemd_version}" -lt 231 ]]; then
|
if [ "${systemd_version}" -lt 231 ]; then
|
||||||
printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}"
|
printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}"
|
||||||
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
|
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -28,7 +28,7 @@ cleanInstall() {
|
||||||
|
|
||||||
service ${service_name} restart || :
|
service ${service_name} restart || :
|
||||||
else
|
else
|
||||||
if [[ "${systemd_version}" -lt 231 ]]; then
|
if [ "${systemd_version}" -lt 231 ]; then
|
||||||
printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}"
|
printf "\033[31m systemd version %s is less then 231, fixing the service file \033[0m\n" "${systemd_version}"
|
||||||
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
|
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue