I`m trying to make my mysql server to stop automatically from init.
root@server:/# update-rc.d mysql defaults
Adding system startup for /etc/init.d/mysql ...
/etc/rc0.d/K20mysql -> ../init.d/mysql
/etc/rc1.d/K20mysql -> ../init.d/mysql
/etc/rc6.d/K20mysql -> ../init.d/mysql
So the first 3 links in rc0, rc1 and rc6 are for the stopping but it doesnt happening. The host is a docker container with ubuntu 14.04 and init is with PID 1.