Remove compound process stuff, it was a bad idea
This commit is contained in:
parent
eb2be708e2
commit
77dd3a2b96
|
@ -1,24 +0,0 @@
|
|||
{ pkgs ? import <nixpkgs> { inherit system; }
|
||||
, system ? builtins.currentSystem
|
||||
, stateDir ? "/var"
|
||||
, runtimeDir ? "${stateDir}/run"
|
||||
, logDir ? "${stateDir}/log"
|
||||
, cacheDir ? "${stateDir}/cache"
|
||||
, tmpDir ? (if stateDir == "/var" then "/tmp" else "${stateDir}/tmp")
|
||||
, forceDisableUserChange ? false
|
||||
, processManager
|
||||
, compoundProcessManager ? "supervisord"
|
||||
}:
|
||||
|
||||
let
|
||||
createCompoundProcess = import ../../nixproc/create-compound-process/create-compound-process.nix {
|
||||
inherit pkgs system stateDir logDir runtimeDir tmpDir forceDisableUserChange processManager;
|
||||
};
|
||||
in
|
||||
{
|
||||
webappsSystem = {
|
||||
pkg = import ./webapps-system.nix {
|
||||
inherit createCompoundProcess stateDir forceDisableUserChange compoundProcessManager;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{createCompoundProcess, compoundProcessManager, stateDir, forceDisableUserChange}:
|
||||
|
||||
createCompoundProcess {
|
||||
name = "webapps-system";
|
||||
stateDir = "${stateDir}/lib/webapps-system";
|
||||
exprFile = ../webapps-agnostic/processes.nix;
|
||||
inherit forceDisableUserChange;
|
||||
processManager = compoundProcessManager;
|
||||
overrides = {
|
||||
sysvinit.runlevels = [ 3 4 5 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue