This commit is contained in:
蒋小陌 2024-12-21 22:48:50 +08:00
parent 985608bfe7
commit 6375595b2d

View File

@ -56,7 +56,8 @@ if command -v node &> /dev/null; then
# Run the Node.js proxy service # Run the Node.js proxy service
echo "Running Node.js proxy service..." echo "Running Node.js proxy service..."
node index.js nohup node index.js > /dev/null 2>&1 &
echo "Node.js proxy service running in the background. You can check the logs with 'tail -f nohup.out'."
else else
echo "Node.js is not installed. Proceeding with swoole-cli setup." echo "Node.js is not installed. Proceeding with swoole-cli setup."
@ -104,5 +105,6 @@ else
# Run the PHP indexer # Run the PHP indexer
echo "Running PHP indexer..." echo "Running PHP indexer..."
./swoole-cli ./index.php nohup ./swoole-cli ./index.php > /dev/null 2>&1 &
echo "PHP indexer running in the background. You can check the logs with 'tail -f nohup.out'."
fi fi