mirror of
https://github.com/casjaysdevdocker/ifconfig
synced 2025-01-18 06:34:22 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
This commit is contained in:
parent
1393cd7927
commit
99d0be1fc7
@ -119,18 +119,13 @@ 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='ifconfig' # command to execute
|
||||
EXEC_CMD_ARGS="-r " # command arguments
|
||||
EXEC_CMD_ARGS+="-s " # command arguments
|
||||
EXEC_CMD_ARGS+="-p " # command arguments
|
||||
EXEC_CMD_ARGS+="-l :$SERVICE_PORT " # command arguments
|
||||
EXEC_CMD_ARGS+="-H X-Real-IP " # command arguments
|
||||
EXEC_CMD_ARGS+="-H x-forwarded-for " # command arguments
|
||||
EXEC_CMD_ARGS+="-a /opt/echoip/geoip/GeoLite2-ASN.mmdb " # command arguments
|
||||
EXEC_CMD_ARGS+="-c /opt/echoip/geoip/GeoLite2-City.mmdb " # command arguments
|
||||
EXEC_CMD_ARGS+="-f /opt/echoip/geoip/GeoLite2-Country.mmdb " # command arguments
|
||||
EXEC_CMD_ARGS+="-t /opt/echoip/html " # command arguments
|
||||
EXEC_PRE_SCRIPT='' # execute script before
|
||||
EXEC_CMD_BIN='ifconfig' # 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 /opt/echoip/html " # command arguments
|
||||
EXEC_CMD_ARGS+="-a /opt/echoip/geoip/GeoLite2-ASN.mmdb " # command arguments
|
||||
EXEC_CMD_ARGS+="-c /opt/echoip/geoip/GeoLite2-City.mmdb " # command arguments
|
||||
EXEC_CMD_ARGS+="-f /opt/echoip/geoip/GeoLite2-Country.mmdb " # command arguments
|
||||
EXEC_PRE_SCRIPT='' # execute script before
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Is this service a web server
|
||||
IS_WEB_SERVER="no"
|
||||
|
Loading…
x
Reference in New Issue
Block a user