Created
December 25, 2017 18:29
-
-
Save Kevintso/9c7e7e47e17b3d7f879a88a6075076b4 to your computer and use it in GitHub Desktop.
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
[init] | |
Description=Jupyter tensorflow_p36 | |
After=network.target | |
[Service] | |
Tpye=simple | |
PIDFile=/run/jupyter.pid | |
WorkingDirectory=/home/ubuntu | |
#EnvironmentFile=/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/jupyter-notebook | |
ExecStart=/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/jupyter-notebook --config=/home/ubuntu/.jupyter/jupyter_notebook_config.py | |
#ExecStart=/usr/local/bin/jupyter-notebook --config=/home/ubuntu/.jupyter/jupyter_notebook_config.py | |
User=ubuntu | |
Group=ubuntu | |
#ExecStop=/usr/bin/pkill notebook | |
#KillMode=process | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=multi-user.target | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment