aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-26 18:19:33 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-26 18:19:33 -0700
commitd03ffd881e4a8bd93a2936556fd09214b4ad0bd1 (patch)
tree0df2796ed4b6ca6688e8bf8cb16c035aef822370 /hotline
parentc28fb3985c82544084a84d0d91c69fd102174a36 (diff)
Make Bonjour optional and disabled by default
Bonjour doesn't seem happy inside Docker, so I'm making it optional and off by default.
Diffstat (limited to 'hotline')
-rw-r--r--hotline/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hotline/config.go b/hotline/config.go
index 1ad0ec2..a7bd81e 100644
--- a/hotline/config.go
+++ b/hotline/config.go
@@ -14,4 +14,5 @@ type Config struct {
MaxConnectionsPerIP int `yaml:"MaxConnectionsPerIP"` // Max connections per IP
PreserveResourceForks bool `yaml:"PreserveResourceForks"` // Enable preservation of file info and resource forks in sidecar files
IgnoreFiles []string `yaml:"IgnoreFiles"` // List of regular expression for filtering files from the file list
+ EnableBonjour bool `yaml:"EnableBonjour"` // Enable service announcement on local network with Bonjour
}