Created
May 25, 2018 15:25
-
-
Save feng409/bc7c2523c98447cd7a4e0af756a7187f to your computer and use it in GitHub Desktop.
raspberry pi jupyter notebook service
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
#============================================================================== | |
# FileName: jupyter-notebook.service | |
# Desc: raspberry pi jupyter notebook service | |
# Author: chemf | |
# Email: eoyohe@gmail.com | |
# HomePage: | |
# Version: 0.0.1 | |
# LastChange: 2018-05-25 22:01:54 | |
# History: | |
#============================================================================== | |
[Unit] | |
Description=raspberry pi jupyter notebook service | |
[Service] | |
Type=simple | |
PIDFile=/var/run/ipython-notebook.pid | |
ExecStart=/home/pi/.virtualenvs/dev/bin/jupyter-notebook --no-browser --port=8888 --ip='0.0.0.0' -y | |
User=pi | |
Group=pi | |
WorkingDirectory=/home/pi/workspace/ipynb/ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment