]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: use [Install] instead of .wants/ symlinks for systemd integration
authorClayton Craft <clayton@craftyguy.net>
Wed, 27 May 2026 16:09:43 +0000 (09:09 -0700)
committerJaroslav Kysela <perex@perex.cz>
Fri, 4 Dec 2026 17:18:35 +0000 (18:18 +0100)
commitb8d57940a321f2b79f66475102ebcbda85102f6d
treefcfdd4a3516cc804236b10ec875f60905bf54ca3
parentea41c1b8c135fbb6a5a3ebcccfb55fe1d684fc81
alsactl: use [Install] instead of .wants/ symlinks for systemd integration

This adds [Install] sections with WantedBy=sound.target to alsa-restore and
alsa-state service files, and removes the install-data-hook that manually
creates .wants/ symlinks. This lets distributions manage
enabling/disabling via a preset policy rather than hardwiring it at
install time.

Closes: https://github.com/alsa-project/alsa-utils/pull/329
Signed-off-by: Clayton Craft <clayton@craftyguy.net>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/Makefile.am
alsactl/conf/alsa-restore.service.in
alsactl/conf/alsa-state.service.in