mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Use the actual installation path of chp service, changed traefik-proxy version
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user