mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 12:16:02 +08:00
Added command to stop service before uninstalling
This commit is contained in:
@@ -3,5 +3,8 @@
|
||||
BASEPATH=/opt
|
||||
INSTALLPATH=$BASEPATH/MQTTnetServer
|
||||
|
||||
# Stop service before uninstalling
|
||||
systemctl stop mqttnet-server
|
||||
|
||||
# Remove permission to open ports
|
||||
setcap CAP_NET_BIND_SERVICE=-eip $INSTALLPATH/MQTTnet.Server
|
||||
Reference in New Issue
Block a user