mastodon-docker/rootfs/etc/service/redis/run

13 lines
206 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
mkdir -p /state/redis
chown mastodon:mastodon /state/redis
2019-12-09 09:15:23 +00:00
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