How to make jupyter run in the background as systemd unit
Jump to navigation
Jump to search
$ cat /etc/systemd/system/jupyter.service [Unit] Description=Jupyter server [Service] Type=simple ExecStart=/home/razzi/.local/bin/jupyter-notebook WorkingDirectory=/home/razzi/notebooks User=razzi Group=razzi [Install] WantedBy=default.target
Then
sudo systemctl start jupyter
To get the token, see
journalctl -u jupyter.service