diff --git a/tljh/systemd-units/jupyterhub.service b/tljh/systemd-units/jupyterhub.service index 6412a81..477d04b 100644 --- a/tljh/systemd-units/jupyterhub.service +++ b/tljh/systemd-units/jupyterhub.service @@ -19,8 +19,7 @@ ProtectKernelModules=yes Environment=TLJH_INSTALL_PREFIX={install_prefix} # Run upgrade-db before starting, in case Hub version has changed # This is a no-op when no db exists or no upgrades are needed -ExecStartPre={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path} upgrade-db -ExecStart={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path} +ExecStart={python_interpreter_path} -m jupyterhub.app -f {jupyterhub_config_path} --upgrade-db [Install] # Start service when system boots