view host/restart.sh @ 1724:32c6b085bb83

test custom nginx
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 11 Aug 2022 12:18:33 +0200
parents 520707a70379
children
line wrap: on
line source

#!/bin/bash

set -e

cd `dirname $0`;

if [ "$1" == "monitoring" ]; then
	if [ ! -f "started.lock" ]; then
		echo "stopped with stop script";
		exit 0;
    fi;
fi;
./stop.sh;
./start.sh;