workaround for upgrade error

This commit is contained in:
Jun Kurihara 2022-07-06 06:33:05 +09:00
commit 53b85f28dc
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
5 changed files with 52 additions and 33 deletions

View file

@ -51,6 +51,13 @@ EOF
cp -p /etc/cron.daily/logrotate /etc/cron.hourly/
service cron start
# debug level logging
LOG_LEVEL=info
if [ ${DEBUG} ]; then
echo "Logging in debug mode"
LOG_LEVEL=debug
fi
echo "Start rpxy"
RUST_LOG=info /opt/rpxy/sbin/rpxy --config ${CONFIG_FILE}
RUST_LOG=${LOG_LEVEL} /opt/rpxy/sbin/rpxy --config ${CONFIG_FILE}