mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-19 13:34:19 +00:00
added mode 'json-rpc-native' to signal-json-rpc service
This commit is contained in:
parent
50041eb947
commit
fbf99edf0f
@ -1,7 +1,7 @@
|
||||
#!/command/with-contenv sh
|
||||
# File: /etc/s6-overlay/s6-rc.d/signal-json-rpc/run
|
||||
|
||||
if [ "$MODE" != "json-rpc" ]; then
|
||||
if [ "$MODE" != "json-rpc" ] && [ "$MODE" != "json-rpc-native" ]; then
|
||||
echo "Running as mode: $MODE - skipping json-rpc setup"
|
||||
sleep infinity # do nothing, but keep service running
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user