Skip to content
Snippets Groups Projects
jupyter.service 438 B
Newer Older
  • Learn to ignore specific revisions
  • Daniel Müller's avatar
    Daniel Müller committed
    [Unit]
    Description=Jupyter Lab
    
    [Service]
    Type=simple
    PIDFile=/run/jupyter.pid
    # Password: [empty string]
    
    Daniel Müller's avatar
    Daniel Müller committed
    ExecStart=/usr/bin/python3 -m jupyterlab --ip="0.0.0.0"
    --notebook-dir=/home/{{ target_user }}/notebooks --no-browser --NotebookApp.password='sha1:9a2d316959ac:843b251c27024afb46174ce40ce0ebebcf29217b'
    User={{ target_user }}
    Group={{ target_user }}
    
    Daniel Müller's avatar
    Daniel Müller committed
    Restart=always
    RestartSec=10
    
    [Install]
    WantedBy=multi-user.target