Next: Setuid Programs, Previous: Locales, Up: System Configuration [Contents][Index]
An important part of preparing an operating-system
declaration is
listing system services and their configuration (see Using the Configuration System). System services are typically daemons launched
when the system boots, or other actions needed at that time—e.g.,
configuring network access.
Guix has a broad definition of “service” (see Service Composition), but many services are managed by the GNU Shepherd
(see Shepherd Services). On a running system, the herd
command allows you to list the available services, show their status,
start and stop them, or do other specific operations (see Jump
Start in The GNU Shepherd Manual). For example:
# herd status
The above command, run as root
, lists the currently defined
services. The herd doc
command shows a synopsis of the given
service and its associated actions:
# herd doc nscd Run libc's name service cache daemon (nscd). # herd doc nscd action invalidate invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.
The start
, stop
, and restart
sub-commands
have the effect you would expect. For instance, the commands below stop
the nscd service and restart the Xorg display server:
# herd stop nscd Service nscd has been stopped. # herd restart xorg-server Service xorg-server has been stopped. Service xorg-server has been started.
The following sections document the available services, starting with
the core services, that may be used in an operating-system
declaration.
• Base Services | Essential system services. | |
• Scheduled Job Execution | The mcron service. | |
• Log Rotation | The rottlog service. | |
• Networking Setup | Setting up network interfaces. | |
• Networking Services | Firewall, SSH daemon, etc. | |
• Unattended Upgrades | Automated system upgrades. | |
• X Window | Graphical display. | |
• Printing Services | Local and remote printer support. | |
• Desktop Services | D-Bus and desktop services. | |
• Sound Services | ALSA and Pulseaudio services. | |
• Database Services | SQL databases, key-value stores, etc. | |
• Mail Services | IMAP, POP3, SMTP, and all that. | |
• Messaging Services | Messaging services. | |
• Telephony Services | Telephony services. | |
• File-Sharing Services | File-sharing services. | |
• Monitoring Services | Monitoring services. | |
• Kerberos Services | Kerberos services. | |
• LDAP Services | LDAP services. | |
• Web Services | Web servers. | |
• Certificate Services | TLS certificates via Let’s Encrypt. | |
• DNS Services | DNS daemons. | |
• VPN Services | VPN daemons. | |
• Network File System | NFS related services. | |
• Continuous Integration | Cuirass and Laminar services. | |
• Power Management Services | Extending battery life. | |
• Audio Services | The MPD. | |
• Virtualization Services | Virtualization services. | |
• Version Control Services | Providing remote access to Git repositories. | |
• Game Services | Game servers. | |
• PAM Mount Service | Service to mount volumes when logging in. | |
• Guix Services | Services relating specifically to Guix. | |
• Linux Services | Services tied to the Linux kernel. | |
• Hurd Services | Services specific for a Hurd System. | |
• Miscellaneous Services | Other services. |
Next: Setuid Programs, Previous: Locales, Up: System Configuration [Contents][Index]