|
Exercises: admin commands to start/stop services
Upstart, Event driven services
Available only on Ubuntu
Command initctl talks to init. To see all the upstart services registered with init, run the following:
To stop rsyslog services, run
To see the status of the service:
To start the service and see its status:
Legacy System V services
Available on any Linux distro
The System V (non-event driven) service startup scripts are located in directory /etc/init.d. For example to stop and then start cups printing service, use the following
Is the same as
|
|