alsa-store.service: Avoid unnecessary shell
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
7bbf034f93
commit
6e20c697cd
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue