Created
October 22, 2020 03:58
-
-
Save abelardojarab/6bda98b26329c4839b47f4090451eab0 to your computer and use it in GitHub Desktop.
systemd service for Jupyter notebook (pyenv + pipenv w/ CUDA libraries)
This file contains hidden or 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=/home/ubuntu/.pyenv/shims/pipenv run 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