19 lines
410 B
SYSTEMD
19 lines
410 B
SYSTEMD
|
[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
|