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

6 lines
148 B
Bash

#!/bin/bash
mkdir -p /state/redis
chown mastodon:mastodon /state/redis
exec chpst -u mastodon:mastodon /usr/bin/redis-server /etc/redis/redis.conf