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

@@ -15,7 +15,7 @@ setup(
'jinja2',
'pluggy>0.7<1.0',
'passlib',
'jupyterhub-traefik-proxy==0.1.0a1'
'jupyterhub-traefik-proxy==0.1.*'
],
entry_points={
'console_scripts': [

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')