Skip to content

Commit a14cb55

Browse files
deployment: try --server-port flag instead of --port
1 parent 5aefb3e commit a14cb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operations/cookbook.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ After=network.target
66
Type=simple
77
User=quinn
88
WorkingDirectory=/home/quinn/cookbook/book
9-
ExecStart=/bin/bash -c 'fuser -k 3000/tcp 2>/dev/null || true; /home/quinn/.local/bin/uv run jupyter book start --port 3000 --headless'
9+
ExecStart=/bin/bash -c 'fuser -k 3000/tcp 2>/dev/null || true; sleep 2; /home/quinn/.local/bin/uv run jupyter book start --server-port 3000 --headless'
1010
Restart=always
1111
RestartSec=10
1212
StandardOutput=journal

0 commit comments

Comments
 (0)