Skip to content

Instantly share code, notes, and snippets.

@feng409
Created May 25, 2018 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feng409/bc7c2523c98447cd7a4e0af756a7187f to your computer and use it in GitHub Desktop.
Save feng409/bc7c2523c98447cd7a4e0af756a7187f to your computer and use it in GitHub Desktop.
raspberry pi jupyter notebook service
#==============================================================================
# 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