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

11 lines
516 B
Bash
Executable File

#!/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)