Job for redis.service failed because the control process exited with error code.
See "systemctl status redis.service" and "journalctl -xe" for details.
Интересно что команда redis-server выдает
Command 'redis-server' not found, but can be installed with:
sudo apt install redis-server
Странно, запустился после переустановки и после рестарта опять тоже самое
/etc/systemd/system/redis.service
[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
Но теперь после sudo systemctl start redis никаких ошибок нет.
А sudo systemctl status redis по прежнему показывает ошибку
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.