Skip to content

build_daemon

Zwetan Kjukov edited this page May 18, 2016 · 2 revisions

Building Daemon Programs

Daemon (wikipedia)

In multitasking computer operating systems, a daemon (/ˈdiːmən/ or /ˈdeɪmən/)
is a computer program that runs as a background process, rather than being
under the direct control of an interactive user.
Traditionally, the process names of a daemon end with the letter d,
for clarification that the process is, in fact, a daemon, and for
differentiation between a daemon and a normal computer program.
For example, syslogd is the daemon that implements the system logging facility,
and sshd is a daemon that services incoming SSH connections.

Under Linux

Different things

  • using &
  • using nohup and &
  • using System V Init
  • using Upstart
  • using systemd

see

Under Mac OS X

Mainly about using and configuring LaunchD.

see

Under Windows

Daemons are in general called services under Windows, even if the principle is the same, the internals are much different.

Different things

  • using sc.exe / srvany.exe
  • using nssm

see

Misc

see

Clone this wiki locally