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:
systemctl enable servis_adi
To disable the service:
systemctl disable servis_adi
To start the service:
systemctl start servis_adi
To stop the service:
systemctl stop servis_adi
You can use the following command to start the Postgresql 13 service.
systemctl start postgresql-13
To see the services in Centos 7 operating system, you can check the services under /usr/lib/systemd/system/ directory.