Skip to content

Commit d23c26f

Browse files
committed
I forgot the brev script runs in user mode; fix that.
1 parent f852837 commit d23c26f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/brev-script.bash

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ source ~/pyhpc-tutorial/.venv/bin/activate
2222
uv pip install -r ~/pyhpc-tutorial/build/requirements.txt
2323

2424
# Create a Jupyter service
25-
cat >/etc/systemd/system/jupyterlab.service <<'EOF'
25+
cat >jupyterlab.service <<'EOF'
2626
[Unit]
2727
Description=JupyterLab
2828
After=network-online.target
@@ -41,5 +41,6 @@ RestartSec=5
4141
WantedBy=multi-user.target
4242
EOF
4343

44-
systemctl daemon-reload
45-
systemctl enable --now jupyterlab.service
44+
sudo mv jupyterlab.service /etc/systemd/system/jupyterlab.service
45+
sudo systemctl daemon-reload
46+
sudo systemctl enable --now jupyterlab.service

0 commit comments

Comments
 (0)