mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
alsa-store.service: Ensure /var/lib/alsa exists
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
8f679fef5b
commit
7bbf034f93
@ -54,6 +54,7 @@ in
|
||||
{ description = "Store Sound Card State";
|
||||
wantedBy = [ "shutdown.target" ];
|
||||
before = [ "shutdown.target" ];
|
||||
preStart = "mkdir -p /var/lib/alsa";
|
||||
unitConfig.DefaultDependencies = "no";
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.ExecStart = "${alsaUtils}/sbin/alsactl store --ignore";
|
||||
|
Loading…
Reference in New Issue
Block a user