SHA256
1
0
forked from pool/redis
redis/redis@.service

18 lines
307 B
Desktop File

[Unit]
Description=Redis instance: %i
After=network.target
PartOf=redis.target
[Service]
Type=notify
User=redis
Group=redis
PrivateTmp=true
PIDFile=/run/redis/%i.pid
ExecStart=/usr/sbin/redis-server /etc/redis/%i.conf
LimitNOFILE=10240
Restart=on-failure
[Install]
WantedBy=multi-user.target redis.target