sed "s/@PASSWORD@/$pw/" < /etc/galene.conf.template > /tmp/galene.conf
galene -c /tmp/galene.conf
So I'm not too keen to add code that I'm going to have to maintain forever
just to avoid a few lines of shell. Is there any reason why you need this
to be done within the server itsef?
Having something like DotEnv (
https://www.dotenv.org/docs/) to
configure Galene would even be better. Then you can launch it using
a standard file and environnement variable (which is really useful
when you wrap it in containers :)).