redis/redis.service

19 lines
387 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.conf --daemonize no --supervised systemd
2016-09-14 08:48:19 +00:00
ExecStop=/usr/libexec/redis-shutdown
Type=notify
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0755
[Install]
WantedBy=multi-user.target