🗃️ Committing everything that changed 🗃️

Dockerfile
rootfs/usr/local/bin/echoip
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
This commit is contained in:
casjay
2024-07-07 14:32:31 -04:00
parent 1473ad4f61
commit 5fd252c017
3 changed files with 8 additions and 6 deletions

View File

@@ -119,10 +119,9 @@ SERVICE_UID="0" # set the user id
SERVICE_GID="0" # set the group id
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# execute command variables - keep single quotes variables will be expanded later
EXEC_CMD_BIN='echoip' # command to execute
EXEC_CMD_ARGS='-r -s -p -l :$SERVICE_PORT -H X-Real-IP -H x-forwarded-for ' # command arguments
EXEC_CMD_ARGS+='-t $WORK_DIR/html -a $WORK_DIR/geoip/GeoLite2-ASN.mmdb -c $WORK_DIR/geoip/GeoLite2-City.mmdb -f $WORK_DIR/geoip/GeoLite2-Country.mmdb ' # command arguments
EXEC_PRE_SCRIPT='sleep 60' # execute script before
EXEC_CMD_BIN='echoip' # command to execute
EXEC_CMD_ARGS='' # command arguments
EXEC_PRE_SCRIPT='sleep 60' # execute script before
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Is this service a web server
IS_WEB_SERVER="no"