File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 59
59
dst : /lib/systemd/system/ntfy-client.service
60
60
- dst : /var/cache/ntfy
61
61
type : dir
62
+ - dst : /var/cache/ntfy/attachments
63
+ type : dir
62
64
- dst : /usr/share/ntfy/logo.png
63
65
src : server/static/img/ntfy.png
64
66
scripts :
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ if [ "$1" = "configure" ] || [ "$1" -ge 1 ]; then
8
8
if [ -d /run/systemd/system ]; then
9
9
# Create ntfy user/group
10
10
id ntfy > /dev/null 2>&1 || useradd --system --no-create-home ntfy
11
- chown ntfy.ntfy /var/cache/ntfy
12
- chmod 700 /var/cache/ntfy
11
+ chown ntfy.ntfy /var/cache/ntfy /var/cache/ntfy/attachments
12
+ chmod 700 /var/cache/ntfy /var/cache/ntfy/attachments
13
13
14
14
# Hack to change permissions on cache file
15
15
configfile=" /etc/ntfy/server.yml"
You can’t perform that action at this time.
0 commit comments