A daemon is a background process, usually started at boot and detached from a terminal, that provides a service (web server, scheduler, logging); names often end in d, such as sshd or crond.
PID 1 is the first user-space process (init or systemd), the ancestor of all others; it starts services, adopts orphans and reaps zombies. In containers, the process running as PID 1 must also handle signals and reap children, which is why lightweight init programs are sometimes added.
Loading…