comment out some stuff
This commit is contained in:
16
commands/nginx/nginx-setup.sh
Normal file
16
commands/nginx/nginx-setup.sh
Normal file
@ -0,0 +1,16 @@
|
||||
# Example Usage
|
||||
# ssh user@host "sudo -n bash -s" -- < ./commands/nginx/nginx-setup.sh
|
||||
|
||||
if [ "$1" == "-h" ]; then
|
||||
echo "Usage:"
|
||||
echo " ./nginx-setup.sh"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
apt-get update
|
||||
apt-get dist-upgrade
|
||||
apt-get -y install nginx
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user