diff --git a/rootfs/usr/local/bin/start-ifconfig.sh b/rootfs/usr/local/bin/start-ifconfig.sh index c1b3bfb..aaf7e01 100755 --- a/rootfs/usr/local/bin/start-ifconfig.sh +++ b/rootfs/usr/local/bin/start-ifconfig.sh @@ -157,7 +157,7 @@ certbot) else touch "/tmp/$SERVICE_NAME.pid" echo "$start_message" - __exec_command "$SERVICE_COMMAND" $GEOIP $OPTS $CONFIG || rm -Rf "/tmp/$SERVICE_NAME.pid" + cd "/opt/echoip" && __exec_command "$SERVICE_COMMAND" $GEOIP $OPTS $CONFIG || rm -Rf "/tmp/$SERVICE_NAME.pid" fi ;; esac