spqr/run.bash

14 lines
323 B
Bash
Raw Permalink Normal View History

2024-11-05 16:55:16 +08:00
#!/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
2024-11-05 16:56:47 +08:00
fi