This commit is contained in:
Lillian Violet 2024-03-21 14:12:22 +01:00
parent a0c64de181
commit b52ae19a64

View file

@ -24,8 +24,8 @@
scriptArgs = "%i";
serviceConfig = {
ExecStart = "echo ${pkgs.auto-mount} add $@";
ExecStop = "echo ${pkgs.auto-mount} remove $@";
ExecStart = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} add %i";
ExecStop = "${pkgs.toybox}/bin/echo ${pkgs.auto-mount} remove %i";
Type = "oneshot";
RemainAfterExit = true;
};