Could anyone help me understand with what is the use of jupyter.service under home/user/systemd/system

HI All,

This is what i can see in my jupyter.service file:

[Unit]
Description=Jupyter notebook service
After=network.target

[Service]
Type=simple
Restart=always
RestartSec=10
StartLimitInterval=0
User=azureuser
WorkingDirectory=/mnt/azmnt/code/Users
#ExecStart=/anaconda/envs/azureml_py36/bin/jupyter notebook --no-browser --NotebookApp.token=""
ExecStart=/home/azureuser/miniconda3/envs/test8/bin/jupyter-notebook --config=/home/azureuser/.jupyter/jupyter_notebook_config.py
[Install]
WantedBy=multi-user.target

does anyone know what is the purpose of this file.

systemd services are programs that are usually meant to always be running. Whenever you restart your machine systemd will load all the services that are enabled, and if they crash it will restart them. So this file is to tell systemd to start your juptyer notebook (ExecStart line).