void-packages/srcpkgs/ntfy/patches/config.patch

32 lines
1.2 KiB
Diff

diff --git a/server/server.yml b/server/server.yml
index 1b26899..5de6ac1 100644
--- a/server/server.yml
+++ b/server/server.yml
@@ -36,7 +36,7 @@
# If set, also publish messages to a Firebase Cloud Messaging (FCM) topic for your app.
# This is optional and only required to save battery when using the Android app.
#
-# firebase-key-file: <filename>
+# firebase-key-file: /var/lib/ntfy/firebase.key
# If "cache-file" is set, messages are cached in a local SQLite database instead of only in-memory.
# This allows for service restarts without losing messages in support of the since= parameter.
@@ -68,7 +68,7 @@
# If you are running ntfy with systemd, make sure this cache file is owned by the
# ntfy user and group by running: chown ntfy.ntfy <filename>.
#
-# cache-file: <filename>
+# cache-file: /var/lib/ntfy/cache.db
# cache-duration: "12h"
# cache-startup-queries:
# cache-batch-size: 0
@@ -89,7 +89,7 @@
# If you are running ntfy with systemd, make sure this user database file is owned by the
# ntfy user and group by running: chown ntfy.ntfy <filename>.
#
-# auth-file: <filename>
+# auth-file: /var/lib/ntfy/user.db
# auth-default-access: "read-write"
# If set, the X-Forwarded-For header is used to determine the visitor IP address