might work now

This commit is contained in:
2019-12-09 01:15:23 -08:00
parent c7b081f5b9
commit 72a9dc7d78
11 changed files with 159 additions and 20 deletions

View File

@@ -2,4 +2,11 @@
mkdir -p /state/redis
chown mastodon:mastodon /state/redis
exec chpst -u mastodon:mastodon /usr/bin/redis-server /etc/redis/redis.conf
exec chpst -u mastodon:mastodon /usr/bin/redis-server - <<EOF
daemonize no
dir /state/redis
save 900 1
save 300 10
save 60 10000
EOF