run delegated.exe as a background process in case it can't daemonize

This commit is contained in:
Arvid Norberg 2013-09-18 08:43:08 +00:00
parent 40682837c9
commit 413f7b00ba
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ int start_proxy(int proxy_type)
// 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 "
"PERMIT=\"*:*:localhost\" REMITTABLE=\"*\" RELAY=proxy,delegate "
"SERVER=%s %s"
"SERVER=%s %s &"
, port, type, auth);
fprintf(stderr, "%s starting delegated proxy on port %d (%s %s)...\n", time_now_string(), port, type, auth);