2019-01-04

This commit is contained in:
monlor
2019-01-04 22:29:41 +08:00
parent d91feb5e20
commit cecb079944
7 changed files with 1 additions and 1 deletions

View File

@@ -124,7 +124,7 @@ mount_admin_root() {
start () { start () {
result=$(ps | grep -E 'nginx|php-cgi' | grep -v sysa | grep -v grep | wc -l) result=$(ps | grep -E 'nginx|php-cgi' | grep -v sysa | grep -v grep | wc -l)
if [ "$result" != '0' ];then if [ "$result" != '0' -a -f /opt/etc/nginx/vhost/${appname}.conf ];then
logsh "$service" "${appname}已经在运行!" logsh "$service" "${appname}已经在运行!"
exit 1 exit 1
fi fi