Created
August 4, 2016 09:34
-
-
Save laeshiny/47f027a65a96db8ece004f87cad763da to your computer and use it in GitHub Desktop.
systemd service for Jupyter Notebook
This file contains 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
[Unit] | |
Description=Jupyter Notebook | |
Requires=local-fs.target | |
After=local-fs.target | |
[Service] | |
ExecStart=/usr/local/bin/jupyter-notebook --ip 0.0.0.0 --notebook-dir /home/%i/apps/jupyter-notebook/ | |
User=%i | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much for this code.. i spent almost 4 hours figuring out.
Requires=local-fs.target
After=local-fs.target
saved my life