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:
2
setup.py
2
setup.py
@@ -15,7 +15,7 @@ setup(
|
|||||||
'jinja2',
|
'jinja2',
|
||||||
'pluggy>0.7<1.0',
|
'pluggy>0.7<1.0',
|
||||||
'passlib',
|
'passlib',
|
||||||
'jupyterhub-traefik-proxy==0.1.0a1'
|
'jupyterhub-traefik-proxy==0.1.*'
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ def remove_chp():
|
|||||||
"""
|
"""
|
||||||
Ensure CHP is not running
|
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'):
|
if systemd.check_service_active('configurable-http-proxy.service'):
|
||||||
try:
|
try:
|
||||||
systemd.stop_service('configurable-http-proxy.service')
|
systemd.stop_service('configurable-http-proxy.service')
|
||||||
|
|||||||
Reference in New Issue
Block a user