[Unit]
Description=Redis In-Memory Data Store
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/local/bin/redis-cli shutdown
Restart=always
[Install]
WantedBy=multi-user.target
redis.service - Redis In-Memory Data Store
Loaded: loaded (/etc/systemd/system/redis.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-03-01 18:06:17 +03; 8s ago
Process: 7890 ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)
Main PID: 7890 (code=exited, status=1/FAILURE)
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: redis.service: Service hold-off time over, scheduling restart.
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: redis.service: Scheduled restart job, restart counter is at 5.
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: Stopped Redis In-Memory Data Store.
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: redis.service: Start request repeated too quickly.
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: redis.service: Failed with result 'exit-code'.
сак 01 18:06:17 y700-Lenovo-ideapad-Y700-15ISK systemd[1]: Failed to start Redis In-Memory Data Store.