-
-
Save dqtweb/0f3168e820202cbf4caf2cd34e36fd74 to your computer and use it in GitHub Desktop.
Jupyterlab as a systemd 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
[Unit] | |
Description=Jupyter Notebook | |
[Service] | |
Type=simple | |
ExecStart=/home/roeyd/Notebook/.env/bin/jupyter lab --port 9090 | |
WorkingDirectory=/home/roeyd/Notebook | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ mkdir -p ~/.config/systemd/user
$ wget "https://gist.github.com/r-darwish/42042b204aa562b3a8f742056b771079/raw/0ecf28461b26d32b13c97de786d1096a2459d6de/jupyter.service" -O ~/.config/systemd/user/jupyterlab.service
$ "$EDITOR" ~/.config/systemd/user/jupyterlab.service # edit