# ~/.config/systemd/user/jupyter.service
[Unit]
Description=An interactive python notebook server
After=network.target
[Service]
ExecStart=/usr/bin/jupyter notebook\
--no-browser\
--port=8001\
--notebook-dir=~/home/rizwan
Restart=yes
PrivateTmp=true
ProtectSystem=true
[Install]
WantedBy=multi-user.target
$ systemctl --user daemon-reload
$ systemctl start --user jupyter
$ journalctl --user -fu jupyter
...