From bc7bda8a12713db6fb0a9157312e3e63102a5369 Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 24 Apr 2026 00:19:44 +0400 Subject: [PATCH] fix unitd server start --- scripts/start_php.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start_php.sh b/scripts/start_php.sh index 7215eba..3890ca9 100755 --- a/scripts/start_php.sh +++ b/scripts/start_php.sh @@ -3,7 +3,7 @@ ssh-keygen -m PEM -t rsa -f /ssh/key -N '' openssl req -newkey rsa:2048 -sha256 -nodes -x509 -days 365 -keyout /certs/self_private -out /certs/self_public -subj "/C=NN/ST=N/L=N/O=N/CN=$IP" if [[ -f "/ssh/key.pub" && -s "/ssh/key.pub" ]]; then unitd --control 0.0.0.0:8080 --log /logs/unit_error - curl -X PUT --data-binary @/config/unit.json --unix-socket /var/run/control.unit.sock http://localhost/config + curl -X PUT --data-binary @/config/unit.json http://127.0.0.1:8080/config php init.php else exit 1;