desktop/redis/redis.service
2013-10-16 05:19:32 +00:00

16 lines
309 B
Desktop File

[Unit]
Description=Advanced key-value store
After=network.target
[Service]
Type=forking
User=redis
PIDFile=/run/redis/redis.pid
ExecStartPre=/bin/mkdir -p /var/lib/redis
ExecStart=/usr/bin/redis-server /etc/redis.conf
ExecStop=/usr/bin/redis-cli shutdown
Restart=always
[Install]
WantedBy=multi-user.target