Merge pull request #474 from kleptog/java-opts-in-json-rpc

Pass JAVA_OPTS through to signal-cli in json-rpc mode
This commit is contained in:
Bernhard B
2024-02-15 19:27:43 +01:00
committed by GitHub

View File

@@ -25,6 +25,9 @@ caps="$cap_prefix$(seq -s ",$cap_prefix" 0 $(cat /proc/sys/kernel/cap_last_cap))
if [ "$MODE" = "json-rpc" ]
then
/usr/bin/jsonrpc2-helper
if [ -n "$JAVA_OPTS" ] ; then
echo "export JAVA_OPTS='$JAVA_OPTS'" >> /etc/default/supervisor
fi
service supervisor start
supervisorctl start all
fi