Skip to content
Commitpedia
Log in Join & edit

What is a daemon or service?

A daemon or service is a program that runs in the background all the time, waiting to do its job without a user watching.

Drafted with AI from official documentation. Scripts were run in a test environment and repository links verified. Awaiting a human check. Did it work for you? Last edited Outdated?

Edit history of What is a daemon or service?: 1 recorded edit
Edit history · 1 edit
Type
Article
Edits
1
Editors
1
First issued
15 Oct 2026
Last edit
15 Oct 2026
Reading
1 min

A daemon (Unix word) or service (Windows and systemd word) is a long running program with no window. It starts at boot, waits for work, and keeps going after you log out. Think of the building caretaker who is always there even when nobody is in the office. Web servers, databases, SSH and cron are all daemons.

On modern Linux, systemd manages services: you start, stop and enable them with systemctl and read their logs with journalctl. Daemon names traditionally end in d, such as sshd or httpd. Writing a small unit file is how you turn your own script into something that restarts automatically after a crash or reboot.

Check before you run this

  • Runs with administrator rights. Make sure you understand every line.
systemctl status nginx
sudo systemctl enable --now nginx
journalctl -u nginx -f

See also: What is a process? and What is a log?

Did this work for you?

No votes yet. Be the first.

If it did not work, the report form below tells the editors what went wrong.

See also

Repos in the wild

History

Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.

  1. Dominik +761 chars

Report a problem

Something wrong, unsafe or copied? Tell the editors.
What is wrong?