Fix the foreground proxy, add supervisord testcases

This commit is contained in:
Sander van der Burg 2020-07-07 22:29:10 +02:00 committed by Sander van der Burg
parent 3d7d17b770
commit 8d47ad4cb9
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
let
webapp = import ../../webapp;
instanceName = "webapp${instanceSuffix}";
pidFile = "${tmpDir}/${instanceName}.pid";
in
createManagedProcess {
name = instanceName;
@ -16,8 +17,11 @@ createManagedProcess {
environment = {
PORT = port;
PID_FILE = "${tmpDir}/${instanceName}.pid";
PID_FILE = pidFile;
};
inherit pidFile;
user = instanceName;
credentials = {
groups = {