#!/bin/bash set -x if [[ ! -d "/home/nginx" ]]; then mkdir /home/nginx chown nginx:nginx /home/nginx/ fi