linux – Managing Services – Starting and Stopping Services

On systems that use the System-V style init scripts, such as RHEL/CentOS 6:

service <service> start

service <service> stop

On systems using systemd, such as Ubuntu (Server and Desktop) >= 15.04, and RHEL/CentOS >= 7:

systemctl <service> dnsmasq

systemctl <service> dnsmasq

if you want to reproduce, please indicate the source:
linux – Managing Services – Starting and Stopping Services - CodeDay