Add execline to the PATH of s6-svscan to make finding all chainload executables work
This commit is contained in:
parent
6e6c70eae5
commit
400d19786d
|
@ -164,7 +164,7 @@ in
|
|||
|
||||
s6-svscan = import ./s6-svscan {
|
||||
inherit createManagedProcess runtimeDir;
|
||||
inherit (pkgs) s6;
|
||||
inherit (pkgs) s6 execline;
|
||||
};
|
||||
|
||||
supervisord = import ./supervisord {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{createManagedProcess, s6, runtimeDir}:
|
||||
{createManagedProcess, s6, execline, runtimeDir}:
|
||||
|
||||
{ instanceSuffix ? ""
|
||||
, instanceName ? "s6-svscan${instanceSuffix}"
|
||||
|
@ -11,7 +11,7 @@
|
|||
createManagedProcess {
|
||||
inherit instanceName postInstall;
|
||||
|
||||
path = [ s6 ];
|
||||
path = [ s6 execline ];
|
||||
foregroundProcess = "${s6}/bin/s6-svscan";
|
||||
args = [ scanDir ];
|
||||
initialize = ''
|
||||
|
|
Loading…
Reference in New Issue