s6: use exec
in the run
trampoline, to forward file descriptors and keep a cleaner process tree
This commit is contained in:
@@ -9,10 +9,10 @@ let
|
|||||||
name = "s6-${name}-run";
|
name = "s6-${name}-run";
|
||||||
destination = "/${normalizeName name}/run";
|
destination = "/${normalizeName name}/run";
|
||||||
executable = true;
|
executable = true;
|
||||||
# text = run;
|
# TODO: consider using `makeWrapper`/`makeWrapperBin`?
|
||||||
text = ''
|
text = ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
${run}
|
exec ${run}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user