2015-04-01 18:53:07 +02:00
|
|
|
[Unit]
|
2020-02-08 22:38:07 +01:00
|
|
|
Description=Redis instance: %i
|
2015-04-01 18:53:07 +02:00
|
|
|
After=network.target
|
|
|
|
PartOf=redis.target
|
|
|
|
|
|
|
|
[Service]
|
2018-11-26 17:50:24 +01:00
|
|
|
Type=notify
|
2015-04-01 18:53:07 +02:00
|
|
|
User=redis
|
|
|
|
Group=redis
|
|
|
|
PrivateTmp=true
|
|
|
|
PIDFile=/var/run/redis/%i.pid
|
|
|
|
ExecStart=/usr/sbin/redis-server /etc/redis/%i.conf
|
2018-09-06 21:15:00 +02:00
|
|
|
LimitNOFILE=10240
|
2015-04-01 18:53:07 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target redis.target
|