Maybe this will work?
This commit is contained in:
parent
6b0155a6b4
commit
5df487f073
|
@ -21,8 +21,8 @@
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
ExecStart = "${pkgs.auto-mount} add %i";
|
script = "auto-mount add %i";
|
||||||
ExecStop = "${pkgs.auto-mount} remove %i";
|
preStop = "auto-mount remove %i";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue