iac/ansible/artifacts/cache/cache.service

18 lines
410 B
Desktop File

[Unit]
Description=Redis instance with mCaptcha cache module
After=network.target
Documentation=https://github.com/mCaptcha/cache
[Service]
Type=notify
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no
PIDFile=/run/redis/redis-server.pid
TimeoutStopSec=0
Restart=always
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=2755
UMask=007
PrivateTmp=true