mosquitto: Refactor mqtt infra
This commit is contained in:
parent
a8841252d1
commit
7ee2572e04
6 changed files with 99 additions and 31 deletions
|
@ -1,4 +0,0 @@
|
|||
pattern read #
|
||||
|
||||
user frigate*.home.foo.sh
|
||||
pattern readwrite frigate/%u/#
|
10
roles/mosquitto/files/mosquitto_tls.ksh
Normal file
10
roles/mosquitto/files/mosquitto_tls.ksh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/ksh
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
daemon="/usr/local/sbin/mosquitto -d"
|
||||
daemon_flags="-c /etc/mosquitto-tls/mosquitto.conf"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_cmd "$1"
|
Loading…
Add table
Add a link
Reference in a new issue