From f3cf89066c1198c5fd66e82068db28ac88320ffe Mon Sep 17 00:00:00 2001 From: Enoch Date: Tue, 5 Nov 2024 16:45:53 +0800 Subject: [PATCH 1/3] change to 80 --- config/server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/server.php b/config/server.php index 8135545..3a4fe97 100644 --- a/config/server.php +++ b/config/server.php @@ -13,7 +13,7 @@ */ return [ - 'listen' => 'http://0.0.0.0:8780', + 'listen' => 'http://0.0.0.0:80', 'transport' => 'tcp', 'context' => [], 'name' => 'webman', -- 2.36.6 From d21ec5ef817f28f502650a5e46087ae214c53690 Mon Sep 17 00:00:00 2001 From: Enoch Date: Tue, 5 Nov 2024 16:55:16 +0800 Subject: [PATCH 2/3] save --- run.bash | 13 +++++++++++++ runtime/logs/workerman.log | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 run.bash diff --git a/run.bash b/run.bash new file mode 100644 index 0000000..ac771cc --- /dev/null +++ b/run.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +# Pull the latest changes from the git repository +git pull + +# Check if the PHPDE environment variable is set to "true" +if [ "$PHPDE" = "true" ]; then + # Start the PHP script with the -d parameter + php start.php start -d +else + # Start the PHP script without the -d parameter + php start.php start +fi \ No newline at end of file diff --git a/runtime/logs/workerman.log b/runtime/logs/workerman.log index b2fbd6f..0f1f48a 100644 --- a/runtime/logs/workerman.log +++ b/runtime/logs/workerman.log @@ -133,3 +133,6 @@ 2024-11-05 00:41:47 pid:30205 Workerman[start.php] reloading 2024-11-05 00:43:44 pid:30205 Workerman[start.php] stopping ... 2024-11-05 00:43:44 pid:30205 Workerman[start.php] has been stopped +2024-11-05 16:54:59 pid:1636 Workerman[start.php] start in DEBUG mode +2024-11-05 16:55:00 pid:1636 Workerman[start.php] stopping ... +2024-11-05 16:55:00 pid:1636 Workerman[start.php] has been stopped -- 2.36.6 From f4211423eaafb97f00a862b9a47c286deca24ada Mon Sep 17 00:00:00 2001 From: Enoch Date: Tue, 5 Nov 2024 16:56:47 +0800 Subject: [PATCH 3/3] run --- run.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.bash b/run.bash index ac771cc..260e040 100644 --- a/run.bash +++ b/run.bash @@ -10,4 +10,4 @@ if [ "$PHPDE" = "true" ]; then else # Start the PHP script without the -d parameter php start.php start -fi \ No newline at end of file +fi -- 2.36.6