The translation is temporarily closed for contributions due to maintenance, please come back later.
English Sinhala
~]$ [command]#systemctl is-active httpd.service#
active
~]$ [command]#systemctl list-units --type=service#
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
abrt-ccpp.service loaded active exited LSB: Installs coredump handler which saves segfault data
abrt-oops.service loaded active running LSB: Watches system log for oops messages, creates ABRT dump directories for each oops
abrtd.service loaded active running ABRT Automated Bug Reporting Tool
accounts-daemon.service loaded active running Accounts Service
atd.service loaded active running Job spooling tools
_[output truncated]_
~]$ systemctl status httpd.service
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: active (running) since Mon, 23 May 2011 21:38:57 +0200; 27s ago
Process: 2997 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=0/SUCCESS)
Main PID: 3002 (httpd)
CGroup: name=systemd:/system/httpd.service
├ 3002 /usr/sbin/httpd
├ 3004 /usr/sbin/httpd
├ 3005 /usr/sbin/httpd
├ 3006 /usr/sbin/httpd
├ 3007 /usr/sbin/httpd
├ 3008 /usr/sbin/httpd
├ 3009 /usr/sbin/httpd
├ 3010 /usr/sbin/httpd
└ 3011 /usr/sbin/httpd
`ACTIVE` — A high-level unit activation state.
Additional Resources
A guide to securing {MAJOROS}. It contains valuable information on how to set up the firewall, as well as the configuration of [application]*SELinux*.
Although it is still possible to use the [application]*ntsysv* and [application]*chkconfig* utilities to manage services that have init scripts installed in the `/etc/rc.d/init.d/` directory, it is advised that you use the [application]*systemctl* utility.
Although it is still possible to use the [application]*service* utility to manage services that have init scripts installed in the `/etc/rc.d/init.d/` directory, it is advised that you use the [application]*systemctl* utility.
Checking the Service Status
Checking the status of the httpd service
[citetitle]_{MAJOROSVER} Security Guide_
[command]#systemctl list-units --type=service#
[command]#systemctl status irqbalance.service#
Configuring Services
`DESCRIPTION` — A brief description of the unit.
Disabling the Service
Disabling the telnet service
Do not use the ntsysv and chkconfig utilities
Do not use the service utility
Enabling the httpd service