jupyterhub / systemdspawner

Spawn JupyterHub single-user notebook servers with systemd
BSD 3-Clause "New" or "Revised" License
92 stars 45 forks source link

Figure out what to do if we try to start a service that already exists #7

Closed yuvipanda closed 6 years ago

yuvipanda commented 8 years ago

Right now it fails as a 503. Ideally this should not happen, but it does - for example when the hub dies and doesn't clean up. Perhaps it should pick them up when it reboots.

yuvipanda commented 6 years ago

Currently fails with:

Failed to start transient service unit: Unit jupyter-test-singleuser.service already exists.

Should instead stop the old service & start a new one.

hansen-m commented 5 years ago

I'm currently seeing this issue with one user. As an admin, is there a way to check if the service already exists and force a stop? @yuvipanda