redis/redis.service

18 lines
356 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Redis persistent key-value database
After=network.target
2018-10-17 21:41:26 +00:00
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
Type=notify
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0755
[Install]
WantedBy=multi-user.target