alsa-utils/alsactl/alsa-state.service.in

12 lines
270 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Manage Sound Card State (restore and store)
DefaultDependencies=no
After=sysinit.target
Before=shutdown.target
Conflicts=shutdown.target
[Service]
Type=simple
ExecStart=-@sbindir@/alsactl -s rdaemon
ExecStop=-@sbindir@/alsactl -s rkill save_and_quit