mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-04-30 10:30:53 +00:00
Pass JAVA_OPTS through to signal-cli in json-rpc mode
This commit is contained in:
parent
713889a974
commit
b00be631a4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user