Skip to content

Instantly share code, notes, and snippets.

@willprice
Created February 20, 2018 17:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willprice/898e73f62c9e9b038cc25e3e6e09aaab to your computer and use it in GitHub Desktop.
Save willprice/898e73f62c9e9b038cc25e3e6e09aaab to your computer and use it in GitHub Desktop.
Jupyter Lab SystemD user service file.
# file: ~/.config/systemd/user/jupyter-lab.service
# systemctl enable --user jupyter-lab
# systemctl start --user jupyter-lab
[Unit]
Description=Jupyter Lab Server
[Service]
ExecStart=/usr/bin/jupyter lab --no-browser --port=8889
WorkingDirectory=%h/jupyter
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment