desktop/redis/redis.service
2012-11-03 16:31:00 +00:00

15 lines
292 B
Desktop File

[Unit]
Description=Advanced key-value store
After=network.target
[Service]
Type=forking
PIDFile=/run/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