fix: packaging scripts and config
Cadoles/bouncer/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-05-28 15:41:40 +02:00
parent e66938f1d3
commit 8f0501b445
3 changed files with 8 additions and 7 deletions

View File

@ -20,14 +20,15 @@ admin:
debug: false
auth:
issuer: http://127.0.0.1:8081
privateKey: admin-key.json
privateKey: /etc/bouncer/admin-key.json
proxy:
http:
host: 0.0.0.0
port: 8080
database:
driver: sqlite
dsn: sqlite://bouncer.sqlite?_pragma=foreign_keys(1)&_pragma=busy_timeout=10000
redis:
addresses:
- localhost:6379
master: ""
logger:
level: 1
format: human

View File

@ -28,7 +28,7 @@ cleanInstall() {
service ${service_name} restart || :
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}"
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
fi

View File

@ -28,7 +28,7 @@ cleanInstall() {
service ${service_name} restart || :
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}"
sed -i "s/=+/=/g" /usr/lib/systemd/system/${service_name}.service
fi