Skip to content

Commit 6a89e91

Browse files
chore: add env variable on tmux
1 parent d68423c commit 6a89e91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/scripts/run-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
tmux kill-session -t RustyController 2>/dev/null && echo "Killed existing tmux session"
44
# Runs from /tmp for the update to only shutdown when it's starting the new version. (similar to a staging release)
5-
tmux new-session -d -s RustyController -c "$(pwd)" 'cp ./server/target/release/rusty_controller /tmp/running_rusty_controller; /tmp/running_rusty_controller'
5+
tmux new-session -d -s RustyController -c "$(pwd)" -e "LOKI_BASE_URL=$LOKI_BASE_URL" 'cp ./server/target/release/rusty_controller /tmp/running_rusty_controller; /tmp/running_rusty_controller'
66
echo "Started new tmux session for RustyController"

0 commit comments

Comments
 (0)