run delegated.exe as a background process in case it can't daemonize
This commit is contained in:
@@ -346,7 +346,7 @@ int start_proxy(int proxy_type)
|
|||||||
// we need to echo n since dg will ask us to configure it
|
// we need to echo n since dg will ask us to configure it
|
||||||
snprintf(buf, sizeof(buf), "echo n | delegated -P%d ADMIN=test@test.com "
|
snprintf(buf, sizeof(buf), "echo n | delegated -P%d ADMIN=test@test.com "
|
||||||
"PERMIT=\"*:*:localhost\" REMITTABLE=\"*\" RELAY=proxy,delegate "
|
"PERMIT=\"*:*:localhost\" REMITTABLE=\"*\" RELAY=proxy,delegate "
|
||||||
"SERVER=%s %s"
|
"SERVER=%s %s &"
|
||||||
, port, type, auth);
|
, port, type, auth);
|
||||||
|
|
||||||
fprintf(stderr, "%s starting delegated proxy on port %d (%s %s)...\n", time_now_string(), port, type, auth);
|
fprintf(stderr, "%s starting delegated proxy on port %d (%s %s)...\n", time_now_string(), port, type, auth);
|
||||||
|
Reference in New Issue
Block a user