Skip to content

Instantly share code, notes, and snippets.

@rosterloh
Created July 16, 2019 14:41
Show Gist options
  • Save rosterloh/0e7a8bd0954aecfd45718889ec239234 to your computer and use it in GitHub Desktop.
Save rosterloh/0e7a8bd0954aecfd45718889ec239234 to your computer and use it in GitHub Desktop.
[Unit]
Description=Jupyter Notebook Service
[Service]
Type=simple
User=user
ExecStart=/bin/sh -c "jupyter lab --ip=0.0.0.0 --no-browser"
WorkingDirectory=/home/user
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment