Difference between revisions of "Daemons"

From ArchWiki
Jump to: navigation, search
(update man page references (interactive))
(Tag: wiki-scripts)
 
(59 intermediate revisions by 27 users not shown)
Line 1: Line 1:
 
[[Category:Boot process]]
 
[[Category:Boot process]]
 
[[Category:Daemons and system services]]
 
[[Category:Daemons and system services]]
[[cs:Daemon]]
+
[[cs:Daemons]]
 
[[de:Daemons]]
 
[[de:Daemons]]
[[it:Daemon]]
+
[[es:Daemons]]
[[pl:Daemon]]
+
[[it:Daemons]]
 +
[[ja:デーモン]]
 +
[[pl:Daemons]]
 +
[[pt:Daemons]]
 
[[ro:Daemon]]
 
[[ro:Daemon]]
[[ru:Daemon]]
+
[[ru:Daemons]]
 
[[tr:Artsüreç]]
 
[[tr:Artsüreç]]
[[zh-CN:Daemon]]
+
[[zh-hans:Daemons]]
A [[Wikipedia:Daemon (computing)|daemon]] is a program that runs in the background, waiting for events to occur and offering services. A good example is a web server that waits for a request to deliver a page or a ssh server waiting for someone trying to log in. While these are full featured applications, there are daemons whose work is not that visible. Daemons are for tasks like writing messages into a log file (e.g. {{ic|syslog}}, {{ic|metalog}}) or keeping your system time accurate (e.g. [[Network Time Protocol daemon|{{ic|ntpd}}]]).
+
A [[Wikipedia:Daemon (computing)|daemon]] is a program that runs as a "background" process (without a terminal or user interface), commonly waiting for events to occur and offering services. A good example is a web server that waits for a request to deliver a page, or a ssh server waiting for someone trying to log in. While these are full featured applications, there are daemons whose work is not that visible. Daemons are for tasks like writing messages into a log file (e.g. {{ic|syslog}}, {{ic|metalog}}) or keeping your system time accurate (e.g. [[ntpd]]). For more information see {{man|7|daemon}}.
  
{{Note|The word daemon is sometimes used for a class of programs that are started at boot but have no process which remains in memory.  They are called daemons simply because they utilize the same startup/shutdown framework (e.g. {{ic|/etc/rc.d/}} scripts) used to start traditional daemons. For example, the {{ic|/etc/rc.d}} scripts for {{ic|alsa}} and {{ic|cpufreq}} provide persistent configuration support for their perspective kernel modules but do not start additional background processes to service requests or respond to events.
+
In Arch Linux, daemons are managed by [[systemd]]. The [[systemd#Basic systemctl usage|systemctl]] command is the user interface used to manage them. It reads {{ic|''name''.service}} files that contain information about how and when to start the associated daemon. Service files are stored in {{ic|/{etc,usr/lib,run}/systemd/system}}. See [[systemd#Using units]] for details.
  
From the user's perspective the distinction is typically not significant unless the user tries to look for the "daemon" in a process list.
+
== List of daemons ==
}}
 
  
==Initscripts system==
+
Here is a list of daemons. Note that any package can provide a daemon, so this list will never be complete. Please feel free to add any missing daemons here, in alphabetical order. You may have packages that include other daemons from the [[AUR]]. These files will likely be located in {{ic|/usr/lib/systemd/system/}}.
 +
 +
The ''Package'' column contains a link to ArchWiki page for each daemon (or link to the package if no such page exists). The ''initscripts'' column contains the name of the legacy ''rc.d'' script and the ''systemd'' column contains the name of the [[systemd]] service file. Note that there may be daemons specific to either initscripts or systemd, with the respective column empty. The ''Description'' column provides short description, preferably of ''the daemon'' (not of the package).
  
===Starting on Boot===
+
{| class="wikitable sortable"
A default install of Arch Linux will leave you with very few services (or daemons) enabled during boot. You can add or remove services by editing the {{ic|DAEMONS}} array in your [[rc.conf]] file. It will initially look something like this:
+
! Package !! initscripts !! systemd !! Description
DAEMONS=(syslog-ng network netfs crond)
+
|-
 
+
| [[acpid]] || acpid || acpid.service || A daemon for delivering ACPI power management events with netlink support.
They will start in the order you have them listed. You can disable one and keep it in the array by prefixing it with an exclamation mark ({{ic|!}}). You can also have them start in the background by adding the {{ic|@}} symbol in front of it.
+
|-
 
+
| [[alsa]] || alsa || ''always on'' – alsa-store.service, alsa-restore.service || Saves the state of a sound card (e.g. volume) on shutdown and restores it on startup.
Daemon scripts are stored in {{ic|/etc/rc.d/}}. You can print the list of all the available daemons on your system, along with their current status, with:
+
|-
$ rc.d list
+
| {{Pkg|at}} || atd || atd.service || Runs jobs queued for later execution.
 
+
|-
===Performing daemon actions manually===
+
| [[Autofs]] || autofs || autofs.service || Automounting of removable media or network shares when they are inserted or accessed.
Every daemon has a series of actions that can be called with specific commands: usually there are at least {{ic|start}}, {{ic|stop}}, and {{ic|restart}}. You can issue each with:
+
|-
# /etc/rc.d/''daemon-name'' {start|stop|restart|...}
+
| rowspan="2" | [[Avahi]] || avahi-daemon || avahi-daemon.service || Allows programs to automatically find local network services.
A completely equivalent way is:
+
|-
# rc.d {start|stop|restart|...} ''daemon-name-1'' ''daemon-name-2'' ''daemon-name-3'' ...
+
|                           avahi-dnsconfd || avahi-dnsconfd.service || Multicast/unicast DNS-SD framework.
which, as it is clear from the example, works also with a list of daemons, calling for each the given action.
+
|-
 
+
| [[Audit framework]] || auditd || auditd.service || Linux audit framework
For a list of all the available commands for a specific daemon, check its documentation, or just open the script in a text viewer.
+
|-
 
+
| [[Bitlbee]] || bitlbee || bitlbee.service || Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC.
===Essentials===
+
|-
You do not have to add any more services, if you do not feel the need. However, a typical desktop user will add at least [[CUPS]] and [[D-Bus|dbus]]. As you install new services, you will have to manually add them to the {{ic|DAEMONS}} array in {{ic|/etc/[[rc.conf]]}}.
+
| [[Bluetooth]] || bluetooth || bluetooth.service || Bluetooth protocol stack, framework, subsystem.  
 
+
|-
===Starting Daemons in Background===
+
| [[Chrony]] || chrony || chrony.service || Lightweight NTP client and server.
This is helpful for starting a service and letting the next service start before the previous one has finished. Which services to start background depends on your needs. Do not background anything you need immediately. Here is an example:
+
|-
DAEMONS=(syslog-ng gensplash dbus network netfs @avahi-daemon @samba @crond @openntpd @cupsd @mpd)
+
| [[CDemu]] || cdemud || cdemu-daemon.service || CD/DVD-ROM device emulator.
 
+
|-
Starting {{ic|openntpd}} in the background could lead to synchronization errors between the actual time and the time stored on your computer. If you recognize an increasing time difference between your desktop clock and the actual time, try to start the {{ic|openntpd}} daemon normally and not in the background.
+
| [[ClamAV]] || clamav || clamd.service <br>freshclamd.service || Anti-virus toolkit for Unix.
 
+
|-
===rc.conf GUI front-ends===
+
| [[ConnMan]] || connmand || connman.service || Wireless LAN network manager.
[[Rc.conf GUI Frontends|rc.conf GUI front-ends]] allow one to easily change settings in {{ic|/etc/rc.conf}} using a graphical application.
+
|-
 
+
| [[Cpupower]] || cpupower || cpupower.service || Sets [[cpufreq]] governor and other parameters on startup.
==Systemd system==
+
|-
 
+
| || craftbukkit || craftbukkit.service || CraftBukkit Minecraft server.
To see a list of running units (some of which will be daemons, amongst other things), type:
+
|-
$ systemctl list-units
+
| [[Cron]] || crond || cronie.service (if using {{Pkg|cronie}}) or dcron.service (if using {{AUR|dcron}}) || Daemon to schedule and time events. The daemon name ''crond'' is used by at least two packages, {{Pkg|cronie}} and {{AUR|dcron}}.
To see all available ones, add {{ic| --all}} to the end of a command.
+
|-
 
+
| [[CUPS]] || cupsd || org.cups.cupsd.service || The CUPS Printing System daemon.
To start a daemon, use:
+
|-
# systemctl start <name>.service
+
| [[D-Bus]] || dbus || ''always on'' – dbus.service || Freedesktop.org message bus system.
 
+
|-
To enable it at boot, in the above replace {{ic|start}} with {{ic|enable}}.
+
| {{Pkg|dante}} || sockd || sockd.service || A circuit-level SOCKS client/server.
 
+
|-
The counter-parts to the previous commands are {{ic|stop}} and {{ic|disable}}.
+
| rowspan="2" | [[Deluge]] || deluged || deluged.service || Cross-platform and full-featured BitTorrent client - main daemon.
 
+
|-
You can read more at the [[Systemd#Systemd_commands]] section.
+
|                            deluge-web || deluge-web.service || Cross-platform and full-featured BitTorrent client - web interface daemon.
 
+
|-
==List of Daemons==
+
| [[Dhcpcd]] || dhcpcd || dhcpcd@.service || DHCP daemon.
Here is a list of daemons. Note that any package can provide a daemon, so this list will never be complete. Please feel free to add any missing daemons here, in alphabetical order.
+
|-
For each daemon the name of the script (for [[rc.conf|initscripts]]) and of the service (for [[systemd]]) is given.
+
| [[Dovecot]] || dovecot || dovecot.service || IMAP and POP3 server.  
{| border="1"
+
|-
!Initscripts!!Systemd!!Description
+
| [[Dropbox]] || dropboxd || dropbox@.service || Cross-platform file synchronisation with version control.
 +
|-
 +
| [[fail2ban]] || fail2ban || fail2ban.service || Fail2ban scans log files and bans IP addresses that show malicious activity.
 +
|-
 +
| [[Fan speed control]] || fancontrol || fancontrol.service || Fan control daemon (part of lm_sensors)
 +
|-
 +
| [[Fbsplash]] || fbsplash || ''not yet implemented'' || Graphical boot splash screen for the user.
 +
|-
 +
| [[FluidSynth]] || fluidsynth || fluidsynth.service || Software synthesizer.
 
|-
 
|-
|[[acpid]]||acpid.service||Delivers ACPI events.
+
| {{Pkg|inetutils}} || ftpd || ftpd.service || inetutils FTP daemon.
 
|-
 
|-
|[[Advanced Linux Sound Architecture|alsa]]||alsa-store.service
+
| [[GDM]] || gdm || gdm.service || GNOME Display Manager.
alsa-restore.service
 
||Advanced Linux Sound Architecture; provides device drivers for sound cards.
 
 
|-
 
|-
|atd||''not yet implemented''||Run jobs queued for later execution.
+
| [[Git]] || git-daemon || git-daemon.socket || Git daemon.
 
|-
 
|-
|[[Avahi|avahi-daemon]]||avahi-daemon.service||Allows programs to automatically find local network services.
+
| [[Console mouse support|gpm]] || gpm || gpm.service || Console mouse support.
 
|-
 
|-
|[[Avahi|avahi-dnsconfd]]||avahi-dnsconfd.service||
+
| [[hddtemp]] || hddtemp || hddtemp.service || Hard drive temperature monitor daemon.
 
|-
 
|-
|[[Chrony|chrony]]||chrony.service||Alternative NTP client/server designed for systems not online all the time.
+
| || healthd || healthd.service || A daemon which can be used to alert you in the event of a hardware health monitoring alarm (part of [[lm_sensors]]).
 
|-
 
|-
|[[ClamAV|clamav]]||clamd.service
+
| [[apache]] || httpd || httpd.service || Apache HTTP Server (Web Server).
freshclamd.service
 
||Antivirus.
 
 
|-
 
|-
|[[CPU_Frequency_Scaling|cpupower]]||cpupower.service||Userspace tools for the kernel cpufreq subsystem
+
| || i8kmon || i8kmon.service || Monitor the CPU temperature and fan status on Dell Inspiron laptops.
 
|-
 
|-
|craftbukkit||''not yet implemented''||CraftBukkit Minecraft server
+
| || ifplugd || ifplugd@.service || Start/stop network on network cable plugged in/out.
 
|-
 
|-
|[[Cron|crond]]||cronie.service||Daemon to schedule and time events. The daemon name ''crond'' is used by at least two packages, {{Pkg|cronie}} and {{Pkg|dcron}}.
+
| rowspan="2" | [[iptables]] || iptables || iptables.service || Load firewall rules for IPv4.
 
|-
 
|-
|[[CUPS|cupsd]]||cupsd.service
+
|                               ip6tables || ip6tables.service || Load firewall rules for IPv6.
''or'' cups.service
 
||Common UNIX Printing System daemon.
 
 
|-
 
|-
|[[D-Bus|dbus]]||dbus.service||Message bus system for software communication.
+
| [[IPFS]] || ipfs daemon || ? || A peer-to-peer hypermedia protocol node
 
|-
 
|-
|[[Deluge|deluged]]||deluged.service||Cross-platform and full-featured BitTorrent client.
+
| || irqbalance || irqbalance.service || Irqbalance is the Linux utility tasked with making sure that interrupts from your hardware devices are handled in as efficient a manner as possible.
 
|-
 
|-
|[[Deluge|deluge-web]]||deluge-web.service||Cross-platform and full-featured BitTorrent client web UI.
+
| [[KDE]] || kdm || kdm.service || KDE Display Manager.
 
|-
 
|-
|[[Dropbox|dropboxd]]||''not yet implemented''||Cross-platform file synchronisation with version control.
+
| rowspan="3" | {{Pkg|krb5}} || krb5-kadmind || krb5-kadmind.service || Kerberos 5 administration server.
 
|-
 
|-
|[[FAM|fam]]||''deprecated''||File Alteration Monitor. (deprecated)
+
|                       krb5-kdc || krb5-kdc.service || Kerberos 5 KDC.
 
|-
 
|-
|fancontrol||fancontrol.service||Fan control daemon (part of lm_sensors)
+
|                       krb5-kpropd || krb5-kpropd.service || Kerberos 5 propagation server.
 
|-
 
|-
|[[Fbsplash|fbsplash]]||''not yet implemented''||Graphical boot splash screen for the user.
+
| [[Laptop Mode Tools]] || laptop-mode || laptop-mode.service || Laptop power saving tools.
 
|-
 
|-
|ftpd||''not yet implemented''||Inetutils ftp daemon
+
| [[lighttpd]] || lighttpd || lighttpd.service || Lighttpd HTTP Server (Web Server).
 
|-
 
|-
|[[GDM|gdm]]||gdm.service||Gnome Display Manager (Login Screen)
+
| [[libvirt]] || libvirt || libvirtd.service || libvirt is a virtualization API and a daemon for managing virtual machines (VMs).
 
|-
 
|-
|[[Git|git-daemon]]||git-daemon.socket||GIT daemon
+
| [[LXDE|lxdm]] || lxdm || lxdm.service || LXDE Display Manager.
 
|-
 
|-
|[[Console Mouse Support|gpm]]||gpm.service||Console mouse support.
+
| || mdadm || mdadm.service || MD Administration (Linux software RAID).
 
|-
 
|-
|[[HAL|hal]]||''deprecated''||Hardware Abstraction Layer. (Deprecated)
+
| [[miniDLNA]] || minidlna || minidlna.service || simple DLNA/UPnP media server.
 
|-
 
|-
|hddtemp||hddtemp.service||Hard drive temperature monitor daemon
+
| || ? || ModemManager.service || Makes mobile broadband (3G) modem available to [[NetworkManager]].
 
|-
 
|-
|healthd||healthd.service||A daemon which can be used to alert you in the event of a hardware health monitoring alarm (part of lm_sensors).
+
| [[mpd]] || mpd || mpd.service || Music Player Daemon.
 
|-
 
|-
 +
| [[MySQL]] || mysqld || mysqld.service || MySQL database server.
 
|-
 
|-
|iptables||iptables.service||Load firewall rules.
+
| [[MythTV]] || mythbackend || mythbackend.service || Back-end for the MythTV digital video recording/home theater software.
 
|-
 
|-
 +
| [[BIND]] || named || named.service || The Berkeley Internet Name Daemon (BIND) DNS server.
 
|-
 
|-
|ip6tables||ip6tables.service||Load firewall rules for ipv6.
+
| rowspan="3" | [[netctl]] || || netctl@.service || Manually activate specific profile.
 
|-
 
|-
|[[LAMP|httpd]]||httpd.service
+
|                             || netctl-ifplugd@.service || Automatically start/stop netctl profiles depending on whether the cable is plugged in or not.
See [[Systemd/Services#apache2]] for manual configuration.
 
||Apache HTTP Server (Web Server)
 
 
|-
 
|-
|[[hwclock]]||||Not a daemon as such, but on shutdown, updates hwclock to compensate for drift. Only run this daemon if ntpd is not running as both daemons adjust the hardware clock.
+
|                             || netctl-auto@.service || Automatically start/stop netctl wireless profiles depending on which access points are in range.
 
|-
 
|-
|irqbalance||''not yet implemented''||Irqbalance is the Linux utility tasked with making sure that interrupts from your hardware devices are handled in as efficient a manner as possible.
+
| || network || dhcpcd@.service || Brings up the network connections (dynamic Ethernet).
 
|-
 
|-
|[[KDE|kdm]]||kdm.service||KDE Display Manager (Graphical Login)
+
| [[NetworkManager]] || networkmanager || NetworkManager.service <br>NetworkManager-wait-online.service || NetworkManager daemon, provides configuration and detection for automatic network connections.
 
|-
 
|-
|krb5-kadmind||krb5-kadmind.service||Kerberos 5 administration server
+
| [[Nginx]] || nginx || nginx.service || Nginx HTTP Server and IMAP/POP3 proxy server (Web Server).
 
|-
 
|-
|krb5-kdc||krb5-kdc.service||Kerberos 5 KDC
+
| || nscd || nscd.service || Name service caching daemon.
 
|-
 
|-
|krb5-kpropd||krb5-kpropd.service||Kerberos 5 propagation server
+
| [[ntpd]] || ntpd || ntpd.service || Network Time Protocol daemon (client and server).
 
|-
 
|-
|[[Laptop Mode Tools|laptop-mode]]||laptop-mode-tools.service||Laptop Power Saving Tools
+
| [[Ntop]] || ntop || ntop.service || Ntop is a network traffic probe based on libcap.
 
|-
 
|-
|[[lighttpd]]||lighttpd.service||Lighttpd HTTP Server (Web Server).
+
| [[OpenNTPD]] || openntpd || openntpd.service || Alternative Network Time Protocol daemon (client and server).
 
|-
 
|-
|mdadm||mdadm.service||MD Administration (Linux Software RAID).
+
| || osspd || osspd.service || OSS Userspace Bridge.
 
|-
 
|-
|[[Music Player Daemon|mpd]]||mpd.service||Music Player Daemon.
+
| [[OpenVPN]] || openvpn || openvpn@.service || One for each VPN configuration file saved like {{ic|/etc/openvpn/''<profile-name>''.conf}}
 
|-
 
|-
|[[MySQL|mysqld]]||mysqld.service||MySQL database server.
+
| [[OSS]] || oss || oss.service || Open Sound System. Alternative to [[ALSA]].
 
|-
 
|-
|netfs||''unused, handled automatically, see''
+
| [[Pdnsd]] || pdnsd || pdnsd.service || Proxy DNS server with permanent caching.
remote-fs.target
 
''to manually execute scripts''
 
||Mounts network file systems.
 
 
|-
 
|-
|[[Netcfg|net-auto-wired]]||net-auto-wired.service||Netcfg replacement for {{ic|network}} - connects to wired network
+
| {{Pkg|php-fpm}} || php-fpm || php-fpm.service || FastCGI Process Manager for PHP.
 
|-
 
|-
|[[Netcfg|net-auto-wireless]]||net-auto-wireless.service||Netcfg replacement for {{ic|network}} - connects to wireless network
+
| [[PostgreSQL]] || postgresql || postgresql.service || PostgreSQL database server.
 
|-
 
|-
|[[Netcfg|net-profiles]]||netcfg.service
+
| [[Postfix]] || postfix || postfix.service || Mail server, which is an alternative to using [[sendmail]].
netcfg@<profile-name>.service
 
||Netcfg replacement for {{ic|network}} - connects to profiles
 
 
|-
 
|-
|[[Configuring_Network|network]]||''(dynamic Ethernet)'' dhcpcd@<interface>.service||To bring up the network connections.
+
| [[Postgrey]] || postgrey || postgrey.service || Greylisting service, used with Postfix
 
|-
 
|-
|[[NetworkManager|networkmanager]]||NetworkManager.service
+
| [[PPTP server]] || pptpd || pptpd.service || A Virtual Private Network (VPN) server using the Point-to-Point Tunneling Protocol (PPTP).
NetworkManager-wait-online.service
 
||Replaces {{ic|network}}, and provides configuration and detection for automatic network connections.
 
 
|-
 
|-
|[[Nginx|nginx]]||nginx.service||Nginx HTTP Server and IMAP/POP3 proxy server (Web Server)
+
| [[pppd]] || pppd || ppp@.service || A daemon which implements the Point-to-Point Protocol for dial-up networking.
 
|-
 
|-
|nscd||nscd.service||Name service cache daemon
+
| [[preload]] || preload || preload.service || Makes applications run faster by prefetching binaries and shared objects.
 
|-
 
|-
|[[Network Time Protocol daemon|ntpd]]||ntpd.service||Network Time Protocol daemon (client and server).
+
| [[Prosody]] || prosody || prosody.service || XMPP server.
 
|-
 
|-
|[[OpenNTPD|openntpd]]||openntpd.service||alternate Network Time Protocol daemon (client and server).
+
| [[Profile-sync-daemon]] || psd || psd.service || Manages your browser's profile in tmpfs and periodically syncs it back to your physical disk.
 
|-
 
|-
|osspd||osspd.service||OSS Userspace Bridge.
+
| || pure-ftpd || pure-ftpd.servicecups.service || A fast, production quality, standards-compliant FTP server.
 
|-
 
|-
|[[Pdnsd|pdnsd]]||pdnsd.service||Proxy DNS server with permanent caching.
+
| {{Pkg|rfkill}} || rfkill || rfkill-block@.service <br>rfkill-unblock@.service || (Un)blocks radio devices.
 
|-
 
|-
|[[Nginx#1st_Method_.22New.22_.28as_of_PHP_5.3.3.29|php-fpm]]||php-fpm.service||FastCGI Process Manager for PHP
+
| [[Rsync]] || rsyncd || rsyncd.service || rsync daemon.
 
|-
 
|-
|[[PostgreSQL|postgresql]]||postgresql.service||PostgreSQL database server.
+
| [[Rsyslog]] || rsyslogd || rsyslog.service || Alternative system logger.
 
|-
 
|-
|[[powernowd]]||''not yet implemented''||To adjust speed of CPU depending on system load. See also [[CPU Frequency Scaling]]
+
| {{Pkg|redis}} || redis-server || redis.service || Key-value store
 
|-
 
|-
|ppp||''not yet implemented''||A daemon which implements the Point-to-Point Protocol for dial-up networking.
+
| [[samba]] || samba || smbd.service<br>nmbd.service<br>winbindd.service || File and print services for Microsoft Windows clients.
 
|-
 
|-
|[[preload]]||preload.service||Makes applications run faster by prefetching binaries and shared objects.
+
| [[LVM]] || ? || blk-availability.service<br>lvm2-lvmetad.service<br>lvm2-monitor.service<br>lvm2-pvscan.service || LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices.
 
|-
 
|-
|pure-ftpd||''not yet implemented''||FTP server.
+
| [[SANE]] || saned || saned@.service || SANE network daemon.
 
|-
 
|-
|[[readahead]]||systemd-readahead-collect.service
+
| || saslauthd || saslauthd.service || SASL authentication daemon.
systemd-readahead-done.service
 
 
 
systemd-readahead-drop.service
 
 
 
systemd-readahead-replay.service
 
||Readahead for faster boot
 
 
|-
 
|-
||rfkill||rfkill.service||(Un)block radio devices. (.service does not seem to provide equivalent functionality.)
+
| rowspan="2" | [[lm_sensors]] || sensord || sensord.service || Sensor information logging daemon.
 
|-
 
|-
|[[Rsync|rsyncd]]||rsyncd.service||Rsync daemon.
+
|                                 sensors || lm_sensors.service || Initialize hardware monitoring sensors (load necessary kernel modules).
 
|-
 
|-
|[[Rsyslog|rsyslogd]]||rsyslog.service||The latest version of a system logger.
+
| [[SLiM]] || slim || slim.service || Simple Login Manager.
 
|-
 
|-
|[[samba]]||smbd.service
+
| [[SMART]] || smartd || smartd.service || Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.) Hard Disk Monitoring.
nmbd.service
 
 
 
winbindd.service
 
||File and print services for Microsoft Windows clients.
 
 
|-
 
|-
|[[USB_Scanner_Support|saned]]||saned@.service||To share the scanner system over network.
+
| [[Samba#smbnetfs|smbnetfs]] || smbnetfs || smbnetfs.service || Automatically mount Samba/Microsoft network shares.
 
|-
 
|-
|sensord||sensord.service||Sensor information logging daemon (part of lm_sensors)
+
| [[snmpd]] || snmpd || snmpd.service || A suite of applications used to implement SNMP
 
|-
 
|-
|[[Lm sensors|sensors]]||lm_sensors.service||Hardware (temperature, fans etc) monitoring.
+
| || soundmodem || soundmodem.service || Multiplatform Soundcard Packet Radio Modem
 
|-
 
|-
|[[SLiM|slim]]||slim.service||Simple Login Manager
+
| {{Pkg|spamassassin}} || spamd || spamassassin.service || e-mail spam filtering service.
 
|-
 
|-
|[[SMART|smartd]]||smartd.service||Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T) Hard Disk Monitoring
+
| [[openssh]] || sshd || sshd.service || OpenSSH (secure shell) daemon.
 
|-
 
|-
|snmpd||''not yet implemented''||A suite of applications used to implement SNMP
+
| || stunnel || stunnel.service || Allows encrypting arbitrary TCP connections inside SSL.
 
|-
 
|-
|soundmodem||''not yet implemented''||Multiplatform Soundcard Packet Radio Modem
+
| || svnserve || svnserve.service || Subversion server.
 
|-
 
|-
|[[Secure Shell|sshd]]||sshd.service
+
| [[syslog-ng]] || syslog-ng || syslog-ng.service || System logger next generation.
sshd@.service
 
 
 
sshdgenkeys.service
 
||OpenSSH (secure shell) daemon.
 
 
|-
 
|-
|stbd||''deprecated''||This daemon was previously necessary for gnome-system-tools.  However, as of gnome-tools 2.28, it is no longer needed.
+
| [[Timidity]] || timidity++ || timidity.service || Software synthesizer for MIDI.
 
|-
 
|-
|svnserve||svnserve.service||Subversion server
+
| [[Tinc]] || ? || tincd@.service || One for each configuration directory like /etc/tinc/''<vpnname>''/
 
|-
 
|-
|syslogd||''deprecated''||This was the older and basic system logger.
+
| [[Tor]] || tor || tor.service || Onion routing for anonymous communication.
 
|-
 
|-
|[[syslog-ng]]||syslog-ng.service||System logger next generation.
+
|[[Transmission]] || transmissiond || transmission.service || BitTorrent Daemon.
 
|-
 
|-
|[[Timidity|timidity++]]||''not yet implemented''||Software synthesizer for MIDI.
+
| [[Ufw]] || ufw || ufw.service || Uncomplicated FireWall.
 
|-
 
|-
|[[Transmission|transmissiond]]||transmission.service||Bit Torrent Daemon.
+
| [[Urxvt|Urxvtd]] || ? || urxvtd.service || urxvt daemon.
 
|-
 
|-
|[[Ufw|ufw]]||ufw.service||Uncomplicated FireWall.
+
| [[VirtualBox]] || vboxservice || vboxservice.service || VirtualBox Guest Service.
 
|-
 
|-
|[[VirtualBox|vboxservice]]||vboxservice.service||VirtualBox Guest Service
+
| [[vnStat]] || vnstat || vnstat.service || Lightweight network traffic monitor.
 
|-
 
|-
|[[Very Secure FTP Daemon|vsftpd]]||vsftpd.service
+
| [[Very Secure FTP Daemon]] || vsftpd || vsftpd.service (permanent)
vsftpd@.service
+
 
 +
vsftpd.socket (on-demand)
 +
 
 +
vsftpd-ssl.service (permanent)
  
vsftpd-ssl.service
+
vsftpd-ssl.socket (on-demand)
||FTP server.
+
|| FTP server.
 
|-
 
|-
|[[wicd]]||wicd.service||Combine with dbus to replace {{ic|network}}, a lightweight alternative to NetworkManager.
+
| [[wicd]] || wicd || wicd.service || A lightweight alternative to NetworkManager.
 
|-
 
|-
|[[x11vnc]]||''not yet implemented''||VNC remote desktop daemon  
+
| [[x11vnc]] || x11vnc || x11vnc.service || VNC remote desktop daemon.
 
|-
 
|-
 +
| [[XDM]] || xdm || xdm.service || X display manager.
 +
|-
 +
| [[XDM|xdm-archlinux]] || xdm-archlinux || xdm-archlinux.service || X display manager with Arch Linux theme.
 
|}
 
|}
 
==See also==
 
* [[rc.conf|Initscripts]]
 
* [[Systemd|systemd]]
 
* Examples for [[writing rc.d scripts]]
 
* Examples for writing [[Systemd/Services]]
 

Latest revision as of 13:24, 9 September 2017

A daemon is a program that runs as a "background" process (without a terminal or user interface), commonly waiting for events to occur and offering services. A good example is a web server that waits for a request to deliver a page, or a ssh server waiting for someone trying to log in. While these are full featured applications, there are daemons whose work is not that visible. Daemons are for tasks like writing messages into a log file (e.g. syslog, metalog) or keeping your system time accurate (e.g. ntpd). For more information see daemon(7).

In Arch Linux, daemons are managed by systemd. The systemctl command is the user interface used to manage them. It reads name.service files that contain information about how and when to start the associated daemon. Service files are stored in /{etc,usr/lib,run}/systemd/system. See systemd#Using units for details.

List of daemons

Here is a list of daemons. Note that any package can provide a daemon, so this list will never be complete. Please feel free to add any missing daemons here, in alphabetical order. You may have packages that include other daemons from the AUR. These files will likely be located in /usr/lib/systemd/system/.

The Package column contains a link to ArchWiki page for each daemon (or link to the package if no such page exists). The initscripts column contains the name of the legacy rc.d script and the systemd column contains the name of the systemd service file. Note that there may be daemons specific to either initscripts or systemd, with the respective column empty. The Description column provides short description, preferably of the daemon (not of the package).

Package initscripts systemd Description
acpid acpid acpid.service A daemon for delivering ACPI power management events with netlink support.
alsa alsa always on – alsa-store.service, alsa-restore.service Saves the state of a sound card (e.g. volume) on shutdown and restores it on startup.
at atd atd.service Runs jobs queued for later execution.
Autofs autofs autofs.service Automounting of removable media or network shares when they are inserted or accessed.
Avahi avahi-daemon avahi-daemon.service Allows programs to automatically find local network services.
avahi-dnsconfd avahi-dnsconfd.service Multicast/unicast DNS-SD framework.
Audit framework auditd auditd.service Linux audit framework
Bitlbee bitlbee bitlbee.service Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC.
Bluetooth bluetooth bluetooth.service Bluetooth protocol stack, framework, subsystem.
Chrony chrony chrony.service Lightweight NTP client and server.
CDemu cdemud cdemu-daemon.service CD/DVD-ROM device emulator.
ClamAV clamav clamd.service
freshclamd.service
Anti-virus toolkit for Unix.
ConnMan connmand connman.service Wireless LAN network manager.
Cpupower cpupower cpupower.service Sets cpufreq governor and other parameters on startup.
craftbukkit craftbukkit.service CraftBukkit Minecraft server.
Cron crond cronie.service (if using cronie) or dcron.service (if using dcronAUR) Daemon to schedule and time events. The daemon name crond is used by at least two packages, cronie and dcronAUR.
CUPS cupsd org.cups.cupsd.service The CUPS Printing System daemon.
D-Bus dbus always on – dbus.service Freedesktop.org message bus system.
dante sockd sockd.service A circuit-level SOCKS client/server.
Deluge deluged deluged.service Cross-platform and full-featured BitTorrent client - main daemon.
deluge-web deluge-web.service Cross-platform and full-featured BitTorrent client - web interface daemon.
Dhcpcd dhcpcd dhcpcd@.service DHCP daemon.
Dovecot dovecot dovecot.service IMAP and POP3 server.
Dropbox dropboxd dropbox@.service Cross-platform file synchronisation with version control.
fail2ban fail2ban fail2ban.service Fail2ban scans log files and bans IP addresses that show malicious activity.
Fan speed control fancontrol fancontrol.service Fan control daemon (part of lm_sensors)
Fbsplash fbsplash not yet implemented Graphical boot splash screen for the user.
FluidSynth fluidsynth fluidsynth.service Software synthesizer.
inetutils ftpd ftpd.service inetutils FTP daemon.
GDM gdm gdm.service GNOME Display Manager.
Git git-daemon git-daemon.socket Git daemon.
gpm gpm gpm.service Console mouse support.
hddtemp hddtemp hddtemp.service Hard drive temperature monitor daemon.
healthd healthd.service A daemon which can be used to alert you in the event of a hardware health monitoring alarm (part of lm_sensors).
apache httpd httpd.service Apache HTTP Server (Web Server).
i8kmon i8kmon.service Monitor the CPU temperature and fan status on Dell Inspiron laptops.
ifplugd ifplugd@.service Start/stop network on network cable plugged in/out.
iptables iptables iptables.service Load firewall rules for IPv4.
ip6tables ip6tables.service Load firewall rules for IPv6.
IPFS ipfs daemon  ? A peer-to-peer hypermedia protocol node
irqbalance irqbalance.service Irqbalance is the Linux utility tasked with making sure that interrupts from your hardware devices are handled in as efficient a manner as possible.
KDE kdm kdm.service KDE Display Manager.
krb5 krb5-kadmind krb5-kadmind.service Kerberos 5 administration server.
krb5-kdc krb5-kdc.service Kerberos 5 KDC.
krb5-kpropd krb5-kpropd.service Kerberos 5 propagation server.
Laptop Mode Tools laptop-mode laptop-mode.service Laptop power saving tools.
lighttpd lighttpd lighttpd.service Lighttpd HTTP Server (Web Server).
libvirt libvirt libvirtd.service libvirt is a virtualization API and a daemon for managing virtual machines (VMs).
lxdm lxdm lxdm.service LXDE Display Manager.
mdadm mdadm.service MD Administration (Linux software RAID).
miniDLNA minidlna minidlna.service simple DLNA/UPnP media server.
 ? ModemManager.service Makes mobile broadband (3G) modem available to NetworkManager.
mpd mpd mpd.service Music Player Daemon.
MySQL mysqld mysqld.service MySQL database server.
MythTV mythbackend mythbackend.service Back-end for the MythTV digital video recording/home theater software.
BIND named named.service The Berkeley Internet Name Daemon (BIND) DNS server.
netctl netctl@.service Manually activate specific profile.
netctl-ifplugd@.service Automatically start/stop netctl profiles depending on whether the cable is plugged in or not.
netctl-auto@.service Automatically start/stop netctl wireless profiles depending on which access points are in range.
network dhcpcd@.service Brings up the network connections (dynamic Ethernet).
NetworkManager networkmanager NetworkManager.service
NetworkManager-wait-online.service
NetworkManager daemon, provides configuration and detection for automatic network connections.
Nginx nginx nginx.service Nginx HTTP Server and IMAP/POP3 proxy server (Web Server).
nscd nscd.service Name service caching daemon.
ntpd ntpd ntpd.service Network Time Protocol daemon (client and server).
Ntop ntop ntop.service Ntop is a network traffic probe based on libcap.
OpenNTPD openntpd openntpd.service Alternative Network Time Protocol daemon (client and server).
osspd osspd.service OSS Userspace Bridge.
OpenVPN openvpn openvpn@.service One for each VPN configuration file saved like /etc/openvpn/<profile-name>.conf
OSS oss oss.service Open Sound System. Alternative to ALSA.
Pdnsd pdnsd pdnsd.service Proxy DNS server with permanent caching.
php-fpm php-fpm php-fpm.service FastCGI Process Manager for PHP.
PostgreSQL postgresql postgresql.service PostgreSQL database server.
Postfix postfix postfix.service Mail server, which is an alternative to using sendmail.
Postgrey postgrey postgrey.service Greylisting service, used with Postfix
PPTP server pptpd pptpd.service A Virtual Private Network (VPN) server using the Point-to-Point Tunneling Protocol (PPTP).
pppd pppd ppp@.service A daemon which implements the Point-to-Point Protocol for dial-up networking.
preload preload preload.service Makes applications run faster by prefetching binaries and shared objects.
Prosody prosody prosody.service XMPP server.
Profile-sync-daemon psd psd.service Manages your browser's profile in tmpfs and periodically syncs it back to your physical disk.
pure-ftpd pure-ftpd.servicecups.service A fast, production quality, standards-compliant FTP server.
rfkill rfkill rfkill-block@.service
rfkill-unblock@.service
(Un)blocks radio devices.
Rsync rsyncd rsyncd.service rsync daemon.
Rsyslog rsyslogd rsyslog.service Alternative system logger.
redis redis-server redis.service Key-value store
samba samba smbd.service
nmbd.service
winbindd.service
File and print services for Microsoft Windows clients.
LVM  ? blk-availability.service
lvm2-lvmetad.service
lvm2-monitor.service
lvm2-pvscan.service
LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices.
SANE saned saned@.service SANE network daemon.
saslauthd saslauthd.service SASL authentication daemon.
lm_sensors sensord sensord.service Sensor information logging daemon.
sensors lm_sensors.service Initialize hardware monitoring sensors (load necessary kernel modules).
SLiM slim slim.service Simple Login Manager.
SMART smartd smartd.service Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.) Hard Disk Monitoring.
smbnetfs smbnetfs smbnetfs.service Automatically mount Samba/Microsoft network shares.
snmpd snmpd snmpd.service A suite of applications used to implement SNMP
soundmodem soundmodem.service Multiplatform Soundcard Packet Radio Modem
spamassassin spamd spamassassin.service e-mail spam filtering service.
openssh sshd sshd.service OpenSSH (secure shell) daemon.
stunnel stunnel.service Allows encrypting arbitrary TCP connections inside SSL.
svnserve svnserve.service Subversion server.
syslog-ng syslog-ng syslog-ng.service System logger next generation.
Timidity timidity++ timidity.service Software synthesizer for MIDI.
Tinc  ? tincd@.service One for each configuration directory like /etc/tinc/<vpnname>/
Tor tor tor.service Onion routing for anonymous communication.
Transmission transmissiond transmission.service BitTorrent Daemon.
Ufw ufw ufw.service Uncomplicated FireWall.
Urxvtd  ? urxvtd.service urxvt daemon.
VirtualBox vboxservice vboxservice.service VirtualBox Guest Service.
vnStat vnstat vnstat.service Lightweight network traffic monitor.
Very Secure FTP Daemon vsftpd vsftpd.service (permanent)

vsftpd.socket (on-demand)

vsftpd-ssl.service (permanent)

vsftpd-ssl.socket (on-demand)

FTP server.
wicd wicd wicd.service A lightweight alternative to NetworkManager.
x11vnc x11vnc x11vnc.service VNC remote desktop daemon.
XDM xdm xdm.service X display manager.
xdm-archlinux xdm-archlinux xdm-archlinux.service X display manager with Arch Linux theme.