Simplify template used for generating systemd unit names

This commit is contained in:
yuvipanda
2018-06-29 01:24:30 -07:00
parent 3ed58fc40c
commit 570802ba74

View File

@@ -34,5 +34,7 @@ c.ConfigurableHTTPProxy.api_url = 'http://127.0.0.1:15002'
c.SystemdSpawner.extra_paths = [os.path.join(USER_ENV_PREFIX, 'bin')]
c.SystemdSpawner.default_shell = '/bin/bash'
# Drop the '-singleuser' suffix present in the default template
c.SystemdSpawner.unit_name_template = 'jupyter-{USERNAME}'
configurer.apply_yaml_config(os.path.join(INSTALL_PREFIX, 'config.yaml'), c)