Skip to content

Instantly share code, notes, and snippets.

@ryogesh
ryogesh / gist:37ee2273c5fe0d38d8128feb78d7812a
Created May 24, 2019 02:10
Ubuntu 18.x: jupyterhub init.d script
#!/bin/bash
### BEGIN INIT INFO
# Provides: jupyterhub
# Required-Start: $local_fs $syslog
# Required-Stop: $local_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Jupyterhub service
# Description: Place the script as /etc/init.d/jupyterhub
#