瀏覽代碼

Add missing note on log file permissions

nisbet-hubbard 2 年之前
父節點
當前提交
4e9eeb1fa1
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      server/server.yml

+ 4 - 0
server/server.yml

@@ -342,6 +342,10 @@
 #      - "field -> level" to match any value, e.g. "time_taken_ms -> debug"
 #   Warning: Using log-level-overrides has a performance penalty. Only use it for temporary debugging.
 #
+# Check your permissions:
+#   If you are running ntfy with systemd, make sure this log file is owned by the
+#   ntfy user and group by running: chown ntfy.ntfy <filename>.
+#
 # Example (good for production):
 #   log-level: info
 #   log-format: json