services:starting_a_service
This is an old revision of the document!
Table of Contents
Services - Starting a service
The recommended method to use it at the top of this list, but if that does not work try the other methods.
Using systemctl
systemctl only works on systemd based Ubuntu like version 16.04 LTS and above.
systemctl start service_name.service
Using Sys V
With sysv-rc-conf or sysvconfig under Debian or Ubuntu Linux.
/etc/init.d/service_name
Using Service
service works in most Linux distributions including Debian and Ubuntu.
service service_name start
Using Upstart
upstart only works on certain version of Ubuntu.
invoke-rc.d service_name start
services/starting_a_service.1467797892.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)