Alrighty this should execute correctly then, auto-mount ACTUALLY fixed
This commit is contained in:
parent
b52ae19a64
commit
15a24a1a61
|
@ -24,8 +24,8 @@
|
||||||
scriptArgs = "%i";
|
scriptArgs = "%i";
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} add %i";
|
ExecStart = "${pkgs.auto-mount}/bin/auto-mount add %i";
|
||||||
ExecStop = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} remove %i";
|
ExecStop = "${pkgs.auto-mount}/bin/auto-mount remove %i";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue