Swarmspawner: How to keep notebook services up when hub restarts?

Hi Everyone,

Is there a way to keep notebook services started with swarmspawner from being removed when I restart the hub service? I have the db and proxy running in separate services that aren’t restarted. When I restart the hub service because of a configuration change, it removes all the notebook services:

[C 2020-09-23 17:35:56.187 JupyterHub app:2785] Received signal SIGTERM, initiating shutdown...
[I 2020-09-23 17:35:56.197 JupyterHub app:2421] Cleaning up 1 services...
[I 2020-09-23 17:35:56.251 JupyterHub app:2426] Cleaning up single-user servers...
[I 2020-09-23 17:35:56.252 JupyterHub app:2441] I didn't start the proxy, I can't clean it up
[I 2020-09-23 17:35:56.261 JupyterHub dockerspawner:1148] Stopping service jupyter-mark-f1b5a91 (id: rwchurr)
[I 2020-09-23 17:35:56.262 JupyterHub swarmspawner:232] Removing service rwchurr5zryp182q86vhzv4nx
[I 2020-09-23 17:35:56.487 JupyterHub app:2458] ...done


Nevermind I think I found it:
c.JupyterHub.cleanup_servers = False