debian/jupyterhub.service
raw| 1 | [Unit] |
| 2 | |
| 3 | [Service] |
| 4 | User=root |
| 5 | Restart=always |
| 6 | WorkingDirectory=/var/lib/jupyterhub |
| 7 | PrivateTmp=yes |
| 8 | PrivateDevices=yes |
| 9 | ProtectKernelTunables=yes |
| 10 | ProtectKernelModules=yes |
| 11 | ExecStart=/usr/bin/python3 -m jupyterhub.app -f /etc/jupyterhub/jupyterhub_config.py --upgrade-db |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |