#!/usr/bin/env bash echo "check docker nginx directory is exist" if [[ -d /zd/src/docker ]];then cd /zd/src/docker && docker-compose restart nginx fi