Created
September 19, 2021 12:32
-
-
Save mrizwan47/da57c45a4f073df17d584aa98cfeed42 to your computer and use it in GitHub Desktop.
systemd service for jupyter notebook
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
systemctl daemon-reload | |
systemctl enable jupyter.service | |
systemctl start jupyter.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] | |
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