alsa-store.service: Ensure /var/lib/alsa exists

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-03-13 19:48:58 -04:00
parent 8f679fef5b
commit 7bbf034f93

View File

@ -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";