Difference between revisions of "Daemons"

From ArchWiki
Jump to: navigation, search
m (List of daemons: change red link to Pkg link)
 
(53 intermediate revisions by 23 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]]
 
[[ro:Daemon]]
 
[[ro:Daemon]]
[[ru:Daemon]]
+
[[ru:Daemons]]
 
[[tr:Artsüreç]]
 
[[tr:Artsüreç]]
[[zh-CN:Daemon]]
+
[[zh-cn: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 {{ic|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)
+
 
+
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.
+
 
+
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
+
 
+
===Performing daemon actions manually===
+
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|...}
+
A completely equivalent way is:
+
# rc.d {start|stop|restart|...} ''daemon-name-1'' ''daemon-name-2'' ''daemon-name-3'' ...
+
which, as it is clear from the example, works also with a list of daemons, calling for each the given action.
+
 
+
For a list of all the available commands for a specific daemon, check its documentation, or just open the script in a text viewer.
+
 
+
===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]]}}.
+
 
+
===Starting Daemons in Background===
+
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)
+
 
+
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.
+
 
+
===rc.conf GUI front-ends===
+
[[Rc.conf GUI Frontends|rc.conf GUI front-ends]] allow one to easily change settings in {{ic|/etc/rc.conf}} using a graphical application.
+
 
+
==Systemd system==
+
 
+
To see a list of running units (some of which will be daemons, amongst other things), type:
+
$ systemctl list-units
+
To see all available ones, add {{ic| --all}} to the end of a command.
+
 
+
To start a daemon, use:
+
# systemctl start <name>.service
+
 
+
To enable it at boot, in the above replace {{ic|start}} with {{ic|enable}}.
+
 
+
The counter-parts to the previous commands are {{ic|stop}} and {{ic|disable}}.
+
 
+
You can read more at the [[Systemd#Systemd_commands]] section.
+
 
+
==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.
+
For each daemon the name of the script (for [[rc.conf|initscripts]]) and of the service (for [[systemd]]) is given.
+
{| border="1"
+
!Initscripts!!Systemd!!Description
+
 
|-
 
|-
|[[acpid]]||acpid.service||Delivers ACPI events.
+
| [[acpid]] || acpid || acpid.service || A daemon for delivering ACPI power management events with netlink support.
 
|-
 
|-
|[[Advanced Linux Sound Architecture|alsa]]||alsa-store.service
+
| [[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.
alsa-restore.service
+
||Advanced Linux Sound Architecture; provides device drivers for sound cards.
+
 
|-
 
|-
|atd||''not yet implemented''||Run jobs queued for later execution.
+
| {{Pkg|at}} || atd || atd.service || Runs jobs queued for later execution.
 
|-
 
|-
|[[Avahi|avahi-daemon]]||avahi-daemon.service||Allows programs to automatically find local network services.
+
| [[Autofs]] || autofs || autofs.service || Automounting of removable media or network shares when they are inserted or accessed.
 
|-
 
|-
|[[Avahi|avahi-dnsconfd]]||avahi-dnsconfd.service||
+
| rowspan="2" | [[Avahi]] || avahi-daemon || avahi-daemon.service || Allows programs to automatically find local network services.
 
|-
 
|-
|[[Chrony|chrony]]||chrony.service||Alternative NTP client/server designed for systems not online all the time.
+
|                           avahi-dnsconfd || avahi-dnsconfd.service || Multicast/unicast DNS-SD framework.
 
|-
 
|-
|[[ClamAV|clamav]]||clamd.service
+
| [[Audit framework]] || auditd || auditd.service || Linux audit framework
freshclamd.service
+
||Antivirus.
+
 
|-
 
|-
|[[CPU_Frequency_Scaling|cpupower]]||cpupower.service||Userspace tools for the kernel cpufreq subsystem
+
| [[Bitlbee]] || bitlbee || bitlbee.service || Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC.
 
|-
 
|-
|craftbukkit||''not yet implemented''||CraftBukkit Minecraft server
+
| [[Bluetooth]] || bluetooth || bluetooth.service || Bluetooth protocol stack, framework, subsystem.
 
|-
 
|-
|[[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}}.
+
| [[Chrony]] || chrony || chrony.service || Lightweight NTP client and server.
 
|-
 
|-
|[[CUPS|cupsd]]||cupsd.service
+
| [[CDemu]] || cdemud || cdemu-daemon.service || CD/DVD-ROM device emulator.
''or'' cups.service
+
||Common UNIX Printing System daemon.
+
 
|-
 
|-
|[[D-Bus|dbus]]||dbus.service||Message bus system for software communication.
+
| [[ClamAV]] || clamav || clamd.service <br>freshclamd.service || Anti-virus toolkit for Unix.
 
|-
 
|-
|[[Deluge|deluged]]||deluged.service||Cross-platform and full-featured BitTorrent client.
+
| [[Connman]] || connmand || connman.service || Wireless LAN network manager.
 
|-
 
|-
|[[Deluge|deluge-web]]||deluge-web.service||Cross-platform and full-featured BitTorrent client web UI.
+
| [[Cpupower]] || cpupower || cpupower.service || Sets [[cpufreq]] governor and other parameters on startup.
 
|-
 
|-
|[[Dropbox|dropboxd]]||''not yet implemented''||Cross-platform file synchronisation with version control.
+
| || craftbukkit || craftbukkit.service || CraftBukkit Minecraft server.
 
|-
 
|-
|[[FAM|fam]]||''deprecated''||File Alteration Monitor. (deprecated)
+
| [[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}}.
 
|-
 
|-
|fancontrol||fancontrol.service||Fan control daemon (part of lm_sensors)
+
| [[CUPS]] || cupsd || org.cups.cupsd.service || The CUPS Printing System daemon.
 
|-
 
|-
|[[Fbsplash|fbsplash]]||''not yet implemented''||Graphical boot splash screen for the user.
+
| [[D-Bus]] || dbus || ''always on'' – dbus.service || Freedesktop.org message bus system.
 
|-
 
|-
|ftpd||''not yet implemented''||Inetutils ftp daemon
+
| {{Pkg|dante}} || sockd || sockd.service || A circuit-level SOCKS client/server.
 
|-
 
|-
|[[GDM|gdm]]||gdm.service||Gnome Display Manager (Login Screen)
+
| rowspan="2" | [[Deluge]] || deluged || deluged.service || Cross-platform and full-featured BitTorrent client - main daemon.
 
|-
 
|-
|[[Git|git-daemon]]||git-daemon.socket||GIT daemon
+
|                             deluge-web || deluge-web.service || Cross-platform and full-featured BitTorrent client - web interface daemon.
 
|-
 
|-
|[[Console Mouse Support|gpm]]||gpm.service||Console mouse support.
+
| [[Dhcpcd]] || dhcpcd || dhcpcd@.service || DHCP daemon.
 
|-
 
|-
|[[HAL|hal]]||''deprecated''||Hardware Abstraction Layer. (Deprecated)
+
| [[Dovecot]] || dovecot || dovecot.service || IMAP and POP3 server.  
 
|-
 
|-
|hddtemp||hddtemp.service||Hard drive temperature monitor daemon
+
| [[Dropbox]] || dropboxd || dropbox@.service || Cross-platform file synchronisation with version control.
 
|-
 
|-
|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).
+
| [[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)
 
|-
 
|-
|iptables||iptables.service||Load firewall rules.
+
| [[Fbsplash]] || fbsplash || ''not yet implemented'' || Graphical boot splash screen for the user.
 
|-
 
|-
 +
| [[FluidSynth]] || fluidsynth || fluidsynth.service || Software synthesizer.
 
|-
 
|-
|ip6tables||ip6tables.service||Load firewall rules for ipv6.
+
| {{Pkg|inetutils}} || ftpd || ftpd.service || inetutils FTP daemon.
 
|-
 
|-
|[[LAMP|httpd]]||httpd.service
+
| [[GDM]] || gdm || gdm.service || GNOME Display Manager.
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.
+
| [[Git]] || git-daemon || git-daemon.socket || Git daemon.
 
|-
 
|-
|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.
+
| [[Console mouse support|gpm]] || gpm || gpm.service || Console mouse support.
 
|-
 
|-
|[[KDE|kdm]]||kdm.service||KDE Display Manager (Graphical Login)
+
| [[hddtemp]] || hddtemp || hddtemp.service || Hard drive temperature monitor daemon.
 
|-
 
|-
|krb5-kadmind||krb5-kadmind.service||Kerberos 5 administration server
+
| || 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]]).
 
|-
 
|-
|krb5-kdc||krb5-kdc.service||Kerberos 5 KDC
+
| [[apache]] || httpd || httpd.service || Apache HTTP Server (Web Server).
 
|-
 
|-
|krb5-kpropd||krb5-kpropd.service||Kerberos 5 propagation server
+
| || i8kmon || i8kmon.service || Monitor the CPU temperature and fan status on Dell Inspiron laptops.
 
|-
 
|-
|[[Laptop Mode Tools|laptop-mode]]||laptop-mode-tools.service||Laptop Power Saving Tools
+
| || ifplugd || ifplugd@.service || Start/stop network on network cable plugged in/out.
 
|-
 
|-
|[[lighttpd]]||lighttpd.service||Lighttpd HTTP Server (Web Server).
+
| rowspan="2" | [[iptables]] || iptables || iptables.service || Load firewall rules for IPv4.
 
|-
 
|-
|mdadm||mdadm.service||MD Administration (Linux Software RAID).
+
|                               ip6tables || ip6tables.service || Load firewall rules for IPv6.
 
|-
 
|-
|[[Music Player Daemon|mpd]]||mpd.service||Music Player Daemon.
+
| || 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.
 
|-
 
|-
|[[MySQL|mysqld]]||mysqld.service||MySQL database server.
+
| [[KDE]] || kdm || kdm.service || KDE Display Manager.
 
|-
 
|-
|netfs||''unused, handled automatically, see''
+
| rowspan="3" | {{Pkg|krb5}} || krb5-kadmind || krb5-kadmind.service || Kerberos 5 administration server.
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
+
|                       krb5-kdc || krb5-kdc.service || Kerberos 5 KDC.
 
|-
 
|-
|[[Netcfg|net-auto-wireless]]||net-auto-wireless.service||Netcfg replacement for {{ic|network}} - connects to wireless network
+
|                       krb5-kpropd || krb5-kpropd.service || Kerberos 5 propagation server.
 
|-
 
|-
|[[Netcfg|net-profiles]]||netcfg.service
+
| [[Laptop Mode Tools]] || laptop-mode || laptop-mode.service || Laptop power saving tools.
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.
+
| [[lighttpd]] || lighttpd || lighttpd.service || Lighttpd HTTP Server (Web Server).
 
|-
 
|-
|[[NetworkManager|networkmanager]]||NetworkManager.service
+
| [[libvirt]] || libvirt || libvirtd.service || libvirt is a virtualization API and a daemon for managing virtual machines (VMs).
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)
+
| [[LXDE|lxdm]] || lxdm || lxdm.service || LXDE Display Manager.
 
|-
 
|-
|nscd||nscd.service||Name service cache daemon
+
| || mdadm || mdadm.service || MD Administration (Linux software RAID).
 
|-
 
|-
|[[Network Time Protocol daemon|ntpd]]||ntpd.service||Network Time Protocol daemon (client and server).
+
| [[miniDLNA]] || minidlna || minidlna.service || simple DLNA/UPnP media server.
 
|-
 
|-
|[[OpenNTPD|openntpd]]||openntpd.service||alternate Network Time Protocol daemon (client and server).
+
| || ? || ModemManager.service || Makes mobile broadband (3G) modem available to [[NetworkManager]].
 
|-
 
|-
|osspd||osspd.service||OSS Userspace Bridge.
+
| [[mpd]] || mpd || mpd.service || Music Player Daemon.
 
|-
 
|-
|[[Pdnsd|pdnsd]]||pdnsd.service||Proxy DNS server with permanent caching.
+
| [[MySQL]] || mysqld || mysqld.service || MySQL database server.
 
|-
 
|-
|[[Nginx#1st_Method_.22New.22_.28as_of_PHP_5.3.3.29|php-fpm]]||php-fpm.service||FastCGI Process Manager for PHP
+
| [[MythTV]] || mythbackend || mythbackend.service || Back-end for the MythTV digital video recording/home theater software.
 
|-
 
|-
|[[PostgreSQL|postgresql]]||postgresql.service||PostgreSQL database server.
+
| [[BIND]] || named || named.service || The Berkeley Internet Name Daemon (BIND) DNS server.
 
|-
 
|-
|[[powernowd]]||''not yet implemented''||To adjust speed of CPU depending on system load. See also [[CPU Frequency Scaling]]
+
| rowspan="3" | [[netctl]] || || netctl@.service || Manually activate specific profile.
 
|-
 
|-
|ppp||''not yet implemented''||A daemon which implements the Point-to-Point Protocol for dial-up networking.
+
|                             || netctl-ifplugd@.service || Automatically start/stop netctl profiles depending on whether the cable is plugged in or not.
 
|-
 
|-
|[[preload]]||preload.service||Makes applications run faster by prefetching binaries and shared objects.
+
|                             || netctl-auto@.service || Automatically start/stop netctl wireless profiles depending on which access points are in range.
 
|-
 
|-
|pure-ftpd||''not yet implemented''||FTP server.
+
| || network || dhcpcd@.service || Brings up the network connections (dynamic Ethernet).
 
|-
 
|-
|[[readahead]]||systemd-readahead-collect.service
+
| [[NetworkManager]] || networkmanager || NetworkManager.service <br>NetworkManager-wait-online.service || NetworkManager daemon, provides configuration and detection for automatic network connections.
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.)
+
| [[Nginx]] || nginx || nginx.service || Nginx HTTP Server and IMAP/POP3 proxy server (Web Server).
 
|-
 
|-
|[[Rsync|rsyncd]]||rsyncd.service||Rsync daemon.
+
| || nscd || nscd.service || Name service caching daemon.
 
|-
 
|-
|[[Rsyslog|rsyslogd]]||rsyslog.service||The latest version of a system logger.
+
| [[ntpd]] || ntpd || ntpd.service || Network Time Protocol daemon (client and server).
 
|-
 
|-
|[[samba]]||smbd.service
+
| [[Ntop]] || ntop || ntop.service || Ntop is a network traffic probe based on libcap.
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.
+
| [[OpenNTPD]] || openntpd || openntpd.service || Alternative Network Time Protocol daemon (client and server).
 
|-
 
|-
|sensord||sensord.service||Sensor information logging daemon (part of lm_sensors)
+
| || osspd || osspd.service || OSS Userspace Bridge.
 
|-
 
|-
|[[Lm sensors|sensors]]||lm_sensors.service||Hardware (temperature, fans etc) monitoring.
+
| [[OpenVPN]] || openvpn || openvpn@.service || One for each VPN configuration file saved like {{ic|/etc/openvpn/''<profile-name>''.conf}}
 
|-
 
|-
|[[SLiM|slim]]||slim.service||Simple Login Manager
+
| [[OSS]] || oss || oss.service || Open Sound System. Alternative to [[ALSA]].
 
|-
 
|-
|[[SMART|smartd]]||smartd.service||Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T) Hard Disk Monitoring
+
| [[Pdnsd]] || pdnsd || pdnsd.service || Proxy DNS server with permanent caching.
 
|-
 
|-
|snmpd||''not yet implemented''||A suite of applications used to implement SNMP
+
| {{Pkg|php-fpm}} || php-fpm || php-fpm.service || FastCGI Process Manager for PHP.
 
|-
 
|-
|soundmodem||''not yet implemented''||Multiplatform Soundcard Packet Radio Modem
+
| [[PostgreSQL]] || postgresql || postgresql.service || PostgreSQL database server.
 
|-
 
|-
|[[Secure Shell|sshd]]||sshd.service
+
| [[Postfix]] || postfix || postfix.service || Mail server, which is an alternative to using [[sendmail]].
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.
+
| [[Postgrey]] || postgrey || postgrey.service || Greylisting service, used with Postfix
 
|-
 
|-
|svnserve||svnserve.service||Subversion server
+
| [[PPTP server]] || pptpd || pptpd.service || A Virtual Private Network (VPN) server using the Point-to-Point Tunneling Protocol (PPTP).
 
|-
 
|-
|syslogd||''deprecated''||This was the older and basic system logger.
+
| [[pppd]] || pppd || ppp@.service || A daemon which implements the Point-to-Point Protocol for dial-up networking.
 
|-
 
|-
|[[syslog-ng]]||syslog-ng.service||System logger next generation.
+
| [[preload]] || preload || preload.service || Makes applications run faster by prefetching binaries and shared objects.
 
|-
 
|-
|[[Timidity|timidity++]]||''not yet implemented''||Software synthesizer for MIDI.
+
| [[Prosody]] || prosody || prosody.service || XMPP server.
 
|-
 
|-
|[[Transmission|transmissiond]]||transmission.service||Bit Torrent Daemon.
+
| [[Profile-sync-daemon]] || psd || psd.service || Manages your browser's profile in tmpfs and periodically syncs it back to your physical disk.
 
|-
 
|-
|[[Ufw|ufw]]||ufw.service||Uncomplicated FireWall.
+
| || pure-ftpd || pure-ftpd.servicecups.service || A fast, production quality, standards-compliant FTP server.
 
|-
 
|-
|[[VirtualBox|vboxservice]]||vboxservice.service||VirtualBox Guest Service
+
| {{Pkg|rfkill}} || rfkill || rfkill-block@.service <br>rfkill-unblock@.service || (Un)blocks radio devices.
 
|-
 
|-
|[[Very Secure FTP Daemon|vsftpd]]||vsftpd.service
+
| [[Rsync]] || rsyncd || rsyncd.service || rsync daemon.
vsftpd@.service
+
|-
 +
| [[Rsyslog]] || rsyslogd || rsyslog.service || Alternative system logger.
 +
|-
 +
| {{Pkg|redis}} || redis-server || redis.service || Key-value store
 +
|-
 +
| [[samba]] || samba || smbd.service<br>nmbd.service<br>winbindd.service || File and print services for Microsoft Windows clients.
 +
|-
 +
| [[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.
 +
|-
 +
| [[SANE]] || saned || saned@.service || SANE network daemon.
 +
|-
 +
| || saslauthd || saslauthd.service || SASL authentication daemon.
 +
|-
 +
| rowspan="2" | [[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.
 +
|-
 +
| [[Samba#smbnetfs|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
 +
|-
 +
| {{Pkg|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.
 +
|-
 +
| [[Urxvt|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-ssl.service
+
vsftpd.socket (on-demand)
||FTP server.
+
 
 +
vsftpd-ssl.service (permanent)
 +
 
 +
vsftpd-ssl.socket (on-demand)
 +
|| 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 03:25, 21 August 2016

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 man 7 daemon.

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.
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.