alsa-store.service: Avoid unnecessary shell

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

View file

@ -54,10 +54,10 @@ 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";
serviceConfig.ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p /var/lib/alsa";
};
};