aports/testing/sentinel-proxy/example.cfg.patch
2023-11-18 18:27:34 +01:00

34 lines
1 KiB
Diff

--- a/example.cfg
+++ b/example.cfg
@@ -1,9 +1,22 @@
-# This is 64 hex character long string for more information see README.
-# Paste here your token instead."
-# device_token = "c1da24cf9063bf444d66271eb6c2c1b2ae364697ce07d05a8a60d3df08c93f50"
-# server = "sentinel.com"
-# port = 12345
-# client_cert_file = "./sentinel-cert.pem"
-# client_key_file = "./sentinel-key.pem"
-# ca_cert_file = "./sentinel-ca-cert.pem"
-# zmq_socket_path = "ipc:///tmp/sentinel.sock"
+# Configuration for sentinel-proxy
+
+# Sentinel device token. Generate it using 'sentinel-device-token -c'.
+device_token = ""
+
+# Sentinel server address.
+#server = "sentinel.turris.cz"
+
+# Sentinel server port.
+#port = 1883
+
+# Path to Sentinel CA certificate file.
+#ca_cert_file = "/etc/sentinel/ca.pem"
+
+# Path to Sentinel client certificate file
+#client_cert_file = "/etc/sentinel/mqtt_cert.pem"
+
+# Path to Sentinel client key file.
+#client_key_file = "/etc/sentinel/mqtt_key.pem"
+
+# ZMQ socket path.
+#zmq_socket_path = "ipc:///run/sentinel_pull.sock"