summaryrefslogtreecommitdiff
path: root/net/gotify-server/files/patch-config_config.go
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2024-10-13 08:58:22 +0300
committerMatthias Fechner <mfechner@FreeBSD.org>2024-10-13 09:04:06 +0300
commitd2f0651277eaaf7ec0b22f1f79226f5e43cdedba (patch)
treeeccdfd3d9d9d001b9dce8cdd80709d0b596d1d81 /net/gotify-server/files/patch-config_config.go
parenttextproc/rubygem-gitlab-glfm-markdown: update to 0.0.21 (diff)
net/gotify-server: create new port version 2.5.0 of gotify-server
A simple selfhosted message service with nice UI and a client for Android. Thanks a lot for help I received here: https://github.com/gotify/server/issues/199
Diffstat (limited to 'net/gotify-server/files/patch-config_config.go')
-rw-r--r--net/gotify-server/files/patch-config_config.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gotify-server/files/patch-config_config.go b/net/gotify-server/files/patch-config_config.go
new file mode 100644
index 000000000000..dce728c6700b
--- /dev/null
+++ b/net/gotify-server/files/patch-config_config.go
@@ -0,0 +1,11 @@
+--- config/config.go.orig 2024-10-11 14:37:05 UTC
++++ config/config.go
+@@ -60,7 +60,7 @@ func configFiles() []string {
+ if mode.Get() == mode.TestDev {
+ return []string{"config.yml"}
+ }
+- return []string{"config.yml", "/etc/gotify/config.yml"}
++ return []string{"config.yml", "/usr/local/etc/gotify-server/config.yml"}
+ }
+
+ // Get returns the configuration extracted from env variables or config file.