I need some help.
Now, to start jupyter service I run
jupyter notebook --certfile=~/ssl/mycert.pem --keyfile ~/ssl/mykey.key
Start the Jupyter notebook server - Deep Learning AMI
I want jupyter to run as a daemon and start in a workdir like ~/ml
This is my configuration so far.
/etc/systemd/system/jupyter.service
[Unit]
Description=Jupyter Workplace
[Service]
Type=simple
ExecStart=/home/ubuntu/anaconda3/bin/jupyter-notebook
User=ubuntu
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
I don’t know how to add --certfile=~/ssl/mycert.pem --keyfile ~/ssl/mykey.key
When I check the status
● jupyter.service - Jupyter Workplace
Loaded: loaded (/etc/systemd/system/jupyter.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-02-18 07:53:01 UTC; 8s ago
Main PID: 7801 (jupyter-noteboo)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/jupyter.service
└─7801 /home/ubuntu/anaconda3/bin/python /home/ubuntu/anaconda3/bin/jupyter-notebook
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.493 NotebookApp] JupyterLab extension loaded from /home/ubuntu/anaconda3/lib/python3.7/site-packages/jupyterla
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.493 NotebookApp] JupyterLab application directory is /home/ubuntu/anaconda3/share/jupyter/lab
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.652 NotebookApp] [nb_conda] enabled
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.652 NotebookApp] Serving notebooks from local directory: /
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.652 NotebookApp] The Jupyter Notebook is running at:
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.652 NotebookApp] http://localhost:8888/
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.652 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [W 07:53:02.655 NotebookApp] No web browser found: could not locate runnable browser.
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [I 07:53:02.656 NotebookApp] Starting initial scan of virtual environments...
Feb 18 07:53:02 ip-172-31-41-157 jupyter-notebook[7801]: [E 07:53:02.658 NotebookApp] 'conda' not found in path.