I am trying to write an ansible role for redis stand-alone server installation. I downloaded the tarball from redis repo, extracted it and ran make commands to install it.
Then I made changes in configuration file, created directories and service file as mentioned here
In the end when I try to enable the service in Ubuntu 14.04, it gives an error:
Synchronizing state for redis with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d redis enable
update-rc.d: /etc/init.d/redis: file does not exist
Works fine in ubuntu 16.04 but not in 14.04
I know that, Command
systemctl enable servicename creates a soft link of service file in /etc/systemd/system/multi-user.target.wants in ubuntu 16.04.
How does it happen in Ubuntu 14.04?