avijit
FOr time being you can create a systemd wrapper that will auto restart on server reboot. here is the service file.
[Unit]
Description=MySQL Server
After=network.target
[Service]
Type=forking
ExecStart=/etc/init.d/mysqld start
ExecStop=/etc/init.d/mysqld stop
ExecReload=/etc/init.d/mysqld reload
PIDFile=/www/server/data/hostname
.pid (change this based on your system hostname)
TimeoutSec=900
Restart=on-failure
[Install]
WantedBy=multi-user.target
Create a service file with this content. enable the service by systemctl enable thisfilename.service.
You can test the same with redis and nginx.