Compare commits

..

4 Commits

Author SHA1 Message Date
1ad6db98b1 Merge pull request 'master' (#1) from master into main
Reviewed-on: #1
2024-11-05 16:57:24 +08:00
Enoch
f4211423ea run 2024-11-05 16:56:47 +08:00
Enoch
d21ec5ef81 save 2024-11-05 16:55:16 +08:00
Enoch
f3cf89066c change to 80 2024-11-05 16:45:53 +08:00
3 changed files with 17 additions and 1 deletions

View File

@ -13,7 +13,7 @@
*/
return [
'listen' => 'http://0.0.0.0:8780',
'listen' => 'http://0.0.0.0:80',
'transport' => 'tcp',
'context' => [],
'name' => 'webman',

13
run.bash Normal file
View File

@ -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

View File

@ -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