Linux – the equivalent for “service servicename start” that Fedora/RHEL/CentOS uses for Debian/Ubuntu

debianfedoralinuxredhatservice

What is the equivalent for "service servicename start" that Fedora/RHEL/CentOS uses for Debian/Ubuntu?
I've just read on some question here on serverfoault that using /etc/init.d/service is obsolete, so what's the correct way on Debian?

Best Answer

I don't know about the "correct" way, but I always use invoke-rc.d, so e.g. to restart MySQL:

sudo invoke-rc.d mysql restart