Monday , December 4 2023

Linux Service Management

Systemd provides the necessary mechanism for service management running on Linux-based operating systems, restarting when processes stop, restarting, collecting logs.

In order to connect to the Windows operating system, the rdp service appears as an ssh service in Centos 7.

You can use ps -aux and ps -ef commands to view running services. For more detailed use with the ps command, you can use the “man ps” command.

To enable the service:

To disable the service:

To start the service:

To stop the service:

You can use the following command to start the Postgresql 13 service.

To see the services in Centos 7 operating system, you can check the services under /usr/lib/systemd/system/ directory.


About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *