mosquitto: enable service
This commit is contained in:
parent
a0654b8f1d
commit
99c7fc0753
1 changed files with 10 additions and 12 deletions
|
@ -40,7 +40,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mosquitto.listeners = [{
|
services.mosquitto.listeners = [{
|
||||||
weewx-private = {
|
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
port = 1883;
|
port = 1883;
|
||||||
|
|
||||||
|
@ -55,7 +54,6 @@ in
|
||||||
acl = [ "read weewx/+" ];
|
acl = [ "read weewx/+" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ];
|
networking.firewall.interfaces."enp7s0".allowedTCPPorts = [ 1883 ];
|
||||||
|
|
Loading…
Reference in a new issue