| ... | ... | @@ -126,8 +126,9 @@ Description=JupyterLab Service |
|
|
|
Type=simple
|
|
|
|
WorkingDirectory=/usr/local/share/JupyterLab
|
|
|
|
EnvironmentFile=-/etc/environment
|
|
|
|
ExecStart=/bin/bash -lc 'source ./bin/activate ; \\
|
|
|
|
jupyter lab --notebook-dir=/home/ipynb/notebooks --no-browser \\
|
|
|
|
EnvironmentFile=-/etc/profile.local
|
|
|
|
ExecStart=/bin/bash -lc 'source ./bin/activate ; \
|
|
|
|
jupyter lab --notebook-dir=/home/ipynb/notebooks --no-browser \
|
|
|
|
--config=./jupyter_server_config.json'
|
|
|
|
User=ipynb
|
|
|
|
Group=ipynb
|
| ... | ... | @@ -141,6 +142,8 @@ WantedBy=multi-user.target |
|
|
|
EOF
|
|
|
|
```
|
|
|
|
|
|
|
|
notwendig ist, ist derzeit unklar.
|
|
|
|
|
|
|
|
### Start des Systemd-Services
|
|
|
|
|
|
|
|
(Unter root-Account ausführen.)
|
| ... | ... | |
| ... | ... | |