🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 5m22s

rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh
rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh
This commit is contained in:
casjay 2025-06-11 16:01:17 -04:00
parent 1af1d46abf
commit dd9692202b
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
# shellcheck disable=SC1003,SC2016,SC2031,SC2120,SC2155,SC2199,SC2317
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Exit if service is disabled
[ -z "$TOR_BRIDGE_ENABLED" ] || [ "$TOR_BRIDGE_ENABLED" != "no" ] || [ "$TOR_BRIDGE_ENABLED" != "false" ] || exit 0
[ -z "$TOR_BRIDGE_ENABLED" ] || { [ "$TOR_BRIDGE_ENABLED" != "no" ] && [ "$TOR_BRIDGE_ENABLED" != "false" ]; } || exit 0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# run trap command on exit
trap 'retVal=$?;[ "$SERVICE_IS_RUNNING" != "yes" ] && [ -f "$SERVICE_PID_FILE" ] && rm -Rf "$SERVICE_PID_FILE";exit $retVal' SIGINT SIGTERM

View File

@ -21,7 +21,7 @@
# shellcheck disable=SC1003,SC2016,SC2031,SC2120,SC2155,SC2199,SC2317
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Exit if service is disabled
[ -z "$TOR_RELAY_ENABLED" ] || [ "$TOR_RELAY_ENABLED" != "no" ] || [ "$TOR_RELAY_ENABLED" != "false" ] || exit 0
[ -z "$TOR_RELAY_ENABLED" ] || { [ "$TOR_RELAY_ENABLED" != "no" ] && [ "$TOR_RELAY_ENABLED" != "false" ]; } || exit 0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# run trap command on exit
trap 'retVal=$?;[ "$SERVICE_IS_RUNNING" != "yes" ] && [ -f "$SERVICE_PID_FILE" ] && rm -Rf "$SERVICE_PID_FILE";exit $retVal' SIGINT SIGTERM