Created
September 27, 2017 04:43
-
-
Save sequeiradenzil/9ecab284fe7d662274701f6b2e98aec4 to your computer and use it in GitHub Desktop.
Making Jupyterhub run as a service while using kdcauthenticator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##To be placed in /etc/systemd/system/jupyterhub.service | |
[Unit] | |
Description=Jupyterhub | |
After=syslog.target network.target | |
[Service] | |
User=root | |
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" | |
Environment=KRB5_CONFIG=/etc/krb5.conf | |
Environment=KRB5_KTNAME=/etc/krb5.keytab | |
ExecStart=/usr/local/bin/jupyterhub -f /home/ubuntu/jupyterhub_config.py | |
[Install] | |
WantedBy=multi-user.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment