I’m migrating from config.json to jibri.conf following the guide here.
I see that the configuration library allows to use environment variables, so I tried to use nickname = ${HOSTNAME} but then jibri doesn’t start with this error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jitsi.jibri.MainKt.handleCommandLineArgs(Main.kt:193)
at org.jitsi.jibri.MainKt.main(Main.kt:53)
Caused by: com.typesafe.config.ConfigException$UnresolvedSubstitution: /etc/jitsi/jibri/jibri.conf: 33: Could not resolve substitution to a value: ${HOSTNAME}
To exclude systemd problems, I created a dummy unit that just logs the environment variables to a file and I can see that the HOSTNAME variable is present in the environment.