Skip to content
Snippets Groups Projects
jupyter.service 440 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]
    ExecStart=/home/{{ target_user }}/.ml-venv/bin/jupyter-lab --ip="0.0.0.0" --notebook-dir=/home/{{ target_user }}/notebooks --no-browser --NotebookApp.password='sha1:9a2d316959ac:843b251c27024afb46174ce40ce0ebebcf29217b'
    User={{ target_user }}
    Group={{ target_user }}
    Restart=always
    RestartSec=10
    
    [Install]
    WantedBy=multi-user.target