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