mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 19:13:11 +08:00
7 lines
158 B
Bash
7 lines
158 B
Bash
#!/bin/bash
|
|
|
|
BASEPATH=/opt
|
|
INSTALLPATH=$BASEPATH/MQTTnetServer
|
|
|
|
# Remove permission to open ports
|
|
setcap CAP_NET_BIND_SERVICE=-eip $INSTALLPATH/MQTTnet.Server |