Last active
June 17, 2017 12:46
-
-
Save cprakashagr/3776fd0b5653e1baf4e60ad4e363bead to your computer and use it in GitHub Desktop.
A simple, yet intuitive way to start the jupyter notebook as service for my local work station.
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=Deep Learning Jupyter Notebook Service | |
[Service] | |
WorkingDirectory=/home/cprakashagr/Workspace | |
PIDFile=/run/jupyter.pid | |
ExecStart=/home/cprakashagr/.virtualenvs/DeepLearning/bin/jupyter-notebook --config=/home/cprakashagr/.jupyter/jupyter_notebook_config.py | |
User=cprakashagr | |
Group=cprakashagr | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
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
sudo cp runJupyterNotebookService.service /etc/systemd/system/runJupyterNotebookService.service | |
systemctl daemon-reload | |
sudo service runJupyterNotebookService start | |
sudo service runJupyterNotebookService status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment