debmaker/ressources/rustdesk-server/rustdesk-server-hbbs/usr/bin/hbbs-service

11 lines
516 B
Text
Raw Normal View History

2022-06-12 20:33:34 +02:00
#!/bin/env bash
/usr/bin/hbbs \
$([ "" != "$KEY" ] && echo --key $KEY) \
$([ "" != "$RELAY_SERVERS" ] && echo --relay-servers $RELAY_SERVERS) \
$([ "" != "$PORT" ] && echo --port $PORT) \
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE) \
$([ "" != "$SERIAL" ] && echo --serial $SERIAL) \
$([ "" != "$SOFTWARE_URL" ] && echo --software-url $SOFTWARE_URL) \
$([ "" != "$RENDEZVOUS_SERVER" ] && echo --rendezvous-servers $RENDEZVOUS_SERVER) \
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE)