Last active
May 23, 2018 23:52
-
-
Save tekumara/a2999e7c7333b3430ef6014f821b252f to your computer and use it in GitHub Desktop.
systemd service for Jupyter notebook (system python w/ CUDA libraries)
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-online.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/local/bin/jupyter notebook | |
Environment="LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/lib:/usr/lib:/usr/local/cuda/extras/CUPTI/lib64" | |
User=ubuntu | |
Group=ubuntu | |
WorkingDirectory=/home/ubuntu/ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To install: