redis/redis.service

14 lines
236 B
Desktop File

[Unit]
Description=Redis Server
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/redis-server /etc/redis.conf
ExecStop=/bin/kill -15 $MAINPID
PIDFile=/var/run/redis.pid
Restart=always
[Install]
WantedBy=multi-user.target