Add 'legacy/scripts/internal-webserver.sh'
parent
b38904df4f
commit
8c1b48c4c9
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
apt-get update -y
|
||||||
|
apt-get upgrade -y
|
||||||
|
apt-get install -y git apache2
|
||||||
|
|
||||||
|
cd /var/www/html/
|
||||||
|
git clone https://github.com/that-github-guy/quick-deploy-scripts.git
|
||||||
|
# { crontab -l -u root; echo '*/15 * * * * cd /var/www/html/quick-deploy-scripts/ && git pull --ff-only main'; } | crontab -u root -
|
Loading…
Reference in New Issue