Use the actual installation path of chp service, changed traefik-proxy version

This commit is contained in:
GeorgianaElena
2019-02-19 17:28:43 +02:00
parent 84d8000114
commit 436610f83e
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ def remove_chp():
"""
Ensure CHP is not running
"""
if os.path.exists(os.path.join(HERE, 'systemd-units', 'configurable-http-proxy.service')):
if os.path.exists("/etc/systemd/system/configurable-http-proxy.service"):
if systemd.check_service_active('configurable-http-proxy.service'):
try:
systemd.stop_service('configurable-http-proxy.service')