Skip to content

Instantly share code, notes, and snippets.

@wjladams
Created July 3, 2024 16:32
Show Gist options
  • Save wjladams/421ef87a57341acdf4708abde1c8e9fd to your computer and use it in GitHub Desktop.
Save wjladams/421ef87a57341acdf4708abde1c8e9fd to your computer and use it in GitHub Desktop.
Jupyter service on ubuntu-like systems
[Unit]
Description=Jupyter Notebook
After=syslog.target network.target
Requires=syslog.socket
[Service]
Type=simple
User=wjadams
WorkingDirectory=/home/wjadams/Documents
PIDFile=/run/jupyter.pid
ExecStart=/home/wjadams/anaconda3/bin/jupyter-notebook --no-browser
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment