guix/gnu/services
Maxim Cournoyer 131746885c
services: mpd: Log to syslog by default.
Rationale: the tristate value was awkward to deal with, the default log file
name was odd (/var/log/mpd/log) and it required special attention to create
the 'mpd' parent directory as root and chowning it to the MPD user.  It also
didn't match the default behavior of MPD, which is to log to systemd or syslog
unless a log file is specified.

* gnu/services/audio.scm (mpd-log-file-sanitizer): New procedure.
(mpd-configuration) [log-file]: Remove default maybe value.  Add sanitizer.
(mpd-shepherd-service): Validate the log file parent directory exists and has
the right permissions.  Conditionally add syslogd to requirements.
(mympd-log-to-sanitizer): New procedure.
(mympd-configuration) [log-to]: Change type to maybe-string.  Update doc and
add sanitizer.
(mympd-shepherd-service) [requirement]: Fix to use syslogd.  Adjust
accordingly.
[start] Adjust accordingly.
(mympd-log-rotation): Check log-to via maybe-value-set?.
* doc/guix.texi (Audio Services): Update doc.
2023-07-26 10:40:15 -04:00
..
admin.scm
audio.scm services: mpd: Log to syslog by default. 2023-07-26 10:40:15 -04:00
auditd.scm
authentication.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
avahi.scm
base.scm services: static-networking: Support netdde for the Hurd. 2023-07-13 19:00:05 +02:00
certbot.scm services: certbot: Fix nginx crash when certbot is used without domains. 2023-06-18 23:12:10 +02:00
cgit.scm services: cgit: Remove ‘cgit-repo’ left-overs. 2023-07-02 02:00:09 +02:00
ci.scm
configuration.scm services: configuration: Add user-defined sanitizer support. 2023-04-02 12:31:51 +02:00
cuirass.scm
cups.scm services: cups: Add cups PAM service. 2023-05-23 20:26:19 -04:00
databases.scm services: postgresql: Add default package. 2023-04-21 16:16:37 +02:00
dbus.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
desktop.scm gnu: gnome: Remove gnome-boxes from default GNOME apps. 2023-07-07 21:14:09 +02:00
dict.scm services: dicod: Use one inetd endpoint per interface. 2023-06-24 16:11:07 +02:00
dns.scm services: knot: Add 'configuration' action. 2023-04-21 16:16:37 +02:00
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm services: guix-data-service: Unlink the two shepherd services. 2023-07-26 10:31:58 +01:00
herd.scm services: herd: Add a new 'current-service' procedure. 2023-07-21 11:58:44 -04:00
hurd.scm
kerberos.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
ldap.scm
lightdm.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
linux.scm services: earlyoom: Rotate log files. 2023-05-04 21:32:32 +03:00
lirc.scm services: lirc: Deprecate 'lirc-service' procedure. 2023-03-03 17:55:34 +01:00
mail.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
mcron.scm services: mcron: Add log-file and date-format fields. 2023-03-21 14:51:24 -04:00
messaging.scm services: Transient inetd services inherit requirements. 2023-05-21 01:04:39 +02:00
monitoring.scm services: Add vnstat-service-type. 2023-05-11 16:38:29 +02:00
networking.scm services: inetd: Export accessors. 2023-05-11 16:38:29 +02:00
nfs.scm
nix.scm
pam-mount.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
pm.scm
rsync.scm services: rsync: Use least authority wrapper. 2023-05-18 23:11:19 -04:00
samba.scm
science.scm
sddm.scm system: pam: Let PAM extensions add shepherd requirements. 2023-05-11 13:21:45 +02:00
security-token.scm
security.scm services: replace bare serializers with (serializer ...) 2023-04-02 12:35:30 +02:00
shepherd.scm services: Validate 'provision' field of <shepherd-service>. 2023-06-25 23:46:03 +02:00
sound.scm services: ladspa: Export accessors. 2023-03-07 11:39:50 +01:00
spice.scm services: spice: Deprecate 'spice-vdagent-service' procedure. 2023-03-03 17:55:35 +01:00
ssh.scm services: Transient inetd services inherit requirements. 2023-05-21 01:04:39 +02:00
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm services: childhurd: Bump default qemu memory to 2048MB. 2023-07-13 18:59:02 +02:00
vnc.scm services: Transient inetd services inherit requirements. 2023-05-21 01:04:39 +02:00
vpn.scm services: wireguard: Add a 'configuration' action. 2023-07-21 11:58:45 -04:00
web.scm services: nginx: Harden php-location settings. 2023-07-02 02:00:01 +02:00
xorg.scm services: screen-locker-service-type: Configurable PAM and setuid. 2023-06-04 10:33:55 +02:00