diff --git a/build/bin/wfcsetup.sh b/build/bin/wfcsetup.sh index 65a2ffe..7bd9bba 100755 --- a/build/bin/wfcsetup.sh +++ b/build/bin/wfcsetup.sh @@ -171,7 +171,7 @@ case "$1" in [client] user=root password=\${MYSQL_ROOT_PASSWORD} -host=${mysql_container_ip} +host=wfc-mysql port=${mysql_container_port} EOF" diff --git a/build/systemd/system/wfccontrol.service b/build/systemd/system/wfccontrol.service index 92da122..1faddd4 100644 --- a/build/systemd/system/wfccontrol.service +++ b/build/systemd/system/wfccontrol.service @@ -1,7 +1,7 @@ [Unit] Description=WANFi Control and Billing Management System -After=network.target docker.service -Requires=network.target docker.service +After=network.target +Requires=network.target [Service] Type=oneshot