Skip to content

Change Port from CLI? #2625

Answered by Julusian
black-jmyntrn asked this question in Q&A
Oct 27, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Companion is being run as a system service on companion-pi, so is lacking the 'launcher' ui.

Changing the port isn't currently exposed, no-one else has asked for it.
You could do it by modifying the line https://github.com/bitfocus/companion-pi/blob/main/launch.sh#L16 (at /usr/local/src/companion-pi/launch.sh ) and adding --admin-port 8080 at the end of the line (substituting in the port number you choose)
But this might cause future updates to the companion-pi tooling to break, when/if this line gets changed by us and results in a merge conflict

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@black-jmyntrn
Comment options

Answer selected by black-jmyntrn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants