Skip to content

Commit c60b162

Browse files
committed
chirpstack: Patch configuration file
1 parent 37992be commit c60b162

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

chirpstack/distinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,3 +1437,4 @@ Size (chirpstack/yasna-0.5.2.crate) = 34859 bytes
14371437
BLAKE2s (chirpstack/zeroize-1.6.0.crate) = f2055440b7c90a2a0ebd0997466b65fc1f83ae7af9f346740346de90c914e36a
14381438
SHA512 (chirpstack/zeroize-1.6.0.crate) = 9ebc81c10516440476b5c198dd4ff0d284a0a37cee11a2cdfb5a1995f95b72d05beb827483b16e8b764f720fbcf30a5e5d8b1517cfbbf572bcb27c2efb18393b
14391439
Size (chirpstack/zeroize-1.6.0.crate) = 19049 bytes
1440+
SHA1 (patch-chirpstack_configuration_chirpstack.toml) = 0b84fe878505754dadb18d0448b212d9b294a876
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
$NetBSD$
2+
3+
Set the host environment variables in the chirpstack configuration file to
4+
localhost since the post install script which do it for rpm package generation
5+
is not run.
6+
7+
--- chirpstack/configuration/chirpstack.toml.orig 2023-09-11 15:58:25.000000000 +0000
8+
+++ chirpstack/configuration/chirpstack.toml
9+
@@ -19,7 +19,7 @@
10+
# * require - Always SSL (skip verification)
11+
# * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)
12+
# * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate)
13+
- dsn="postgres://chirpstack:chirpstack@$POSTGRESQL_HOST/chirpstack?sslmode=disable"
14+
+ dsn="postgres://chirpstack:chirpstack@localhost/chirpstack?sslmode=disable"
15+
16+
# Max open connections.
17+
#
18+
@@ -41,7 +41,7 @@
19+
#
20+
# Set multiple addresses when connecting to a cluster.
21+
servers=[
22+
- "redis://$REDIS_HOST/",
23+
+ "redis://localhost/",
24+
]
25+
26+
# Redis Cluster.
27+
@@ -99,5 +99,5 @@
28+
enabled=["mqtt"]
29+
30+
[integration.mqtt]
31+
- server="tcp://$MQTT_BROKER_HOST:1883/"
32+
+ server="tcp://localhost:1883/"
33+
json=true

0 commit comments

Comments
 (0)