Skip to content

Commit

Permalink
http port opt on manager script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeTWC1984 committed Mar 15, 2024
1 parent 33ba829 commit e7dda99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/manager
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if [ -f "$HOMEDIR/bin/cronicle.js" ]; then
# echo "starting bundle"
fi

# check for custom http port (pass as first arg)
if [ -n "$1" ]; then
export CRONICLE_WebServer__http_port="$1"
fi
#$HOMEDIR/bin/control.sh start
exec $BINARY --echo --foreground --manager --color 1

Expand Down

0 comments on commit e7dda99

Please sign in to comment.