Changes

Jump to navigation Jump to search
407 bytes added ,  11:27, 16 May 2019
m
no edit summary
Line 8: Line 8:  
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
ipython kernelspec uninstall kernel_name
 
ipython kernelspec uninstall kernel_name
 +
</syntaxhighlight>
 +
 +
== Service file ==
 +
<syntaxhighlight lang="text">
 +
[Unit]
 +
Description=Jupyter Notebook
 +
 +
[Service]
 +
Type=simple
 +
PIDFile=/run/jupyter.pid
 +
ExecStart=/usr/local/bin/jupyter notebook --config=/home/xe50582/.jupyter/jupyter_notebook_config.py
 +
User=xe50582
 +
Group=xe50582
 +
WorkingDirectory=/home/xe50582/Notebooks/
 +
Restart=always
 +
RestartSec=10
 +
#KillMode=mixed
 +
 +
[Install]
 +
WantedBy=multi-user.target
 +
 
</syntaxhighlight>
 
</syntaxhighlight>

Navigation menu