parent
c639c8c68d
commit
1c9d09c7de
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def disable_web_vhost(sitename):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
subprocess.check_output([
|
subprocess.check_output([
|
||||||
SUDO_CMD, RM_CMD, _build_enabled_vhost_path(sitename)],
|
SUDO_CMD, RM_CMD, "-f", _build_enabled_vhost_path(sitename)],
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
subprocess.check_output([
|
subprocess.check_output([
|
||||||
SUDO_CMD, SERVICE_CMD, 'nginx', 'reload'],
|
SUDO_CMD, SERVICE_CMD, 'nginx', 'reload'],
|
||||||
|
|
Loading…
Reference in a new issue