systemctl

Daemon

botond published March 2025, 02, Thu - 06:17 time
This encyclopedia entry provides a detailed introduction to daemons, the basic background services of Linux and Unix-like systems. The article starts with the mythological origin of the word "daemon" and explains the technical significance of the concept, showing how programs become independent, autonomous processes independent of the user. It deals in detail with the management of daemons in modern Linux distributions using the systemd init system and the systemctl command, illustrating the querying of the status of services, starting and stopping them through practical examples and screenshots. The description also provides insight into the deeper layers of systemd configuration with a detailed analysis of a real sshd.service unit file. The article finally concludes with an introduction to the most common daemons (e.g. sshd, apache2, cron), giving a comprehensive overview of these essential components for system operation.

How can we manually unmask services that are masked (service is masked) that we cannot unmask with the unmask option of the systemctl command?

botond published 2022/08/16, k - 05:50 time
Linux services are programs running in the background, which do not have a separate user interface, but respond to the requests of other programs through some communication mechanism (mostly on the network). Services in modern Linux systems are managed by systemd, and they can be started, stopped, masked, unlocked, etc. using the systemctl command. There are cases when the systemctl command cannot unmask, in which case a manual solution must be applied.

Service

The manual page and help for the service command

systemctl

The manual page and help for the systemctl command