We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee34770 commit aacdda9Copy full SHA for aacdda9
scripts/postinst.sh
@@ -18,6 +18,7 @@ if [ "$1" = "configure" ] && [ -d /run/systemd/system ]; then
18
cachefile="$(cat "$configfile" | perl -n -e'/^\s*cache-file: ["'"'"']?([^"'"'"']+)["'"'"']?/ && print $1')" # Oh my, see #47
19
if [ -n "$cachefile" ]; then
20
chown ntfy.ntfy "$cachefile" || true
21
+ chmod 600 "$cachefile" || true
22
fi
23
24
0 commit comments