Add the ability to pass the parameters to the token installer

First of all thank you for your work!

When I run “apt-get install jitsi-meet-tokens” I get a blue screen where I must enter the identifier and password. I would like to be able to pass this by parameter.
tokens
Perhaps there is a way to do it that I have not been able to find, in that case I would appreciate it if you could indicate it to me.

APPSECRET=mysecret
APPID=myapp

export DEBIAN_FRONTEND=noninteractive
debconf-set-selections <<< \
    "jitsi-meet-tokens jitsi-meet-tokens/appid string $APPID"
debconf-set-selections <<< \
    "jitsi-meet-tokens jitsi-meet-tokens/appsecret password $APPSECRET"
apt-get -y install jitsi-meet-tokens

systemctl restart prosody.service

Thank you, really thank you! It’s not the first time that you save me

1 Like