Skip to content

Instantly share code, notes, and snippets.

@mrizwan47
Created September 19, 2021 12:32
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 mrizwan47/da57c45a4f073df17d584aa98cfeed42 to your computer and use it in GitHub Desktop.
Save mrizwan47/da57c45a4f073df17d584aa98cfeed42 to your computer and use it in GitHub Desktop.
systemd service for jupyter notebook
systemctl daemon-reload
systemctl enable jupyter.service
systemctl start jupyter.service
[Unit]
After=network.service
[Service]
User=science
WorkingDirectory=/home/science
ExecStart=/usr/local/bin/jupyter notebook
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment