Last active
November 27, 2020 05:23
-
-
Save janaSunrise/4a8411ecde25c3097aa67317de25494a to your computer and use it in GitHub Desktop.
This is the systemd service, That will enable the process to keep running, until Manually stopped, and Also Automatically will bind to the port specified.
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 | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/home/jana/anaconda3/bin/jupyter-notebook --no-browser --ip=0.0.0.0 --port=9999 --port-retries=50 | |
Restart=always | |
RestartSec=10 | |
User=<your-user> | |
Group=<respective-group> | |
WorkingDirectory=<working-dir> | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment