Files
crawlab/backend/scripts/install-php.sh
2020-07-31 13:13:49 +08:00

19 lines
220 B
Bash
Executable File

#!/bin/bash
# fail immediately if error
set -e
# lock global
touch /tmp/install.lock
# lock
touch /tmp/install-php.lock
apt-get install -y php
# unlock global
rm /tmp/install.lock
# unlock
rm /tmp/install-php.lock