Commenting out cleanup for bug troubleshooting
This commit is contained in:
parent
231c87a00c
commit
a519284f7c
|
@ -191,4 +191,3 @@ SEEDBOX_DIR=$(pwd)
|
||||||
sudo bash init.sh
|
sudo bash init.sh
|
||||||
|
|
||||||
# Run run-seedbox.sh
|
# Run run-seedbox.sh
|
||||||
sudo bash run-seedbox.sh
|
|
|
@ -26,10 +26,10 @@ for i in "$@"; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
cleanup_on_exit() {
|
#cleanup_on_exit() {
|
||||||
rm -f rules.props *-vpn.props config.json
|
# rm -f rules.props *-vpn.props config.json
|
||||||
}
|
#}
|
||||||
trap cleanup_on_exit EXIT
|
#trap cleanup_on_exit EXIT
|
||||||
|
|
||||||
echo-debug() {
|
echo-debug() {
|
||||||
if [[ ${DEBUG} == "1" ]]; then echo "$@"; fi
|
if [[ ${DEBUG} == "1" ]]; then echo "$@"; fi
|
||||||
|
@ -174,7 +174,7 @@ for json in $(yq eval -o json config.yaml | jq -c ".services[]"); do
|
||||||
# Take into account explicit filename if specified in config
|
# Take into account explicit filename if specified in config
|
||||||
customFile=$(echo $json | jq -r .customFile)
|
customFile=$(echo $json | jq -r .customFile)
|
||||||
file="$name.yaml"
|
file="$name.yaml"
|
||||||
if [[ ${customFile} != "null" ]]; then
|
if [[ ${customFile} != "null" ]]; then
|
||||||
file=${customFile}
|
file=${customFile}
|
||||||
fi
|
fi
|
||||||
echo-debug "[$0] File: \"$file\"..."
|
echo-debug "[$0] File: \"$file\"..."
|
||||||
|
@ -257,7 +257,7 @@ for json in $(yq eval -o json config.yaml | jq -c ".services[]"); do
|
||||||
if echo ${traefikService} | grep -vq "@"; then
|
if echo ${traefikService} | grep -vq "@"; then
|
||||||
echo "http.services.${ruleId}.loadBalancer.servers.0.url: ${internalScheme}://${backendHost}:${internalPort}" >> rules.props
|
echo "http.services.${ruleId}.loadBalancer.servers.0.url: ${internalScheme}://${backendHost}:${internalPort}" >> rules.props
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -293,4 +293,4 @@ docker image prune -af
|
||||||
docker volume prune -f
|
docker volume prune -f
|
||||||
|
|
||||||
echo "[$0] ***** Done! *****"
|
echo "[$0] ***** Done! *****"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue