From 1d7a2ba69a97e0711de1b84b7ce5defe998c8ca3 Mon Sep 17 00:00:00 2001 From: zhangsz Date: Tue, 18 Feb 2025 11:35:04 +0800 Subject: [PATCH] fix: update systemctl service and mysql my.conf --- build/bin/wfcsetup.sh | 2 +- build/systemd/system/wfccontrol.service | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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