Service Management for RHEL, CentOS, OracleLinux-7.x and Later
The commands are also applicable to:
-
AlmaLinux, Rocky Linux- 8.x and later
-
Amazon Linux 2 and later
-
Debian 8 and later
-
SLES-12SPx and later
-
Ubuntu-16.04 and later
Run the following commands for:
-
Starting a service:
systemctl start csw-agent
-
Stopping a service:
systemctl stop csw-agent
-
Restarting a service:
systemctl restart csw-agent
-
Checking service status:
systemctl status csw-agent