Store hub state inside install_prefix

rm -rf'ing the prefix should get rid of almost everything
This commit is contained in:
yuvipanda
2018-06-27 14:21:08 -07:00
parent cd38386d25
commit bfd2a8bca3
2 changed files with 3 additions and 3 deletions

View File

@@ -8,9 +8,7 @@ User=root
Restart=always
# jupyterhub process should have no access to home directories
ProtectHome=tmpfs
# Use a persistent, permissioned state directory for db + cookie secrets
StateDirectory=jupyterhub
WorkingDirectory=/var/lib/jupyterhub
WorkingDirectory={install_prefix}/hub/state
# Protect bits that are normally shared across the system
PrivateTmp=yes
PrivateDevices=yes