Add configuration to modify signal sent to child process when close it

This commit is contained in:
Iwasaki Yudai 2015-10-13 18:26:48 +09:00
parent 95ad63e5ae
commit 888fe870dc
3 changed files with 4 additions and 1 deletions

View file

@ -35,6 +35,7 @@ func main() {
flag{"reconnect-time", "", "Time to reconnect"},
flag{"once", "", "Accept only one client and exit on disconnection"},
flag{"permit-arguments", "", "Permit clients to send command line arguments in URL (e.g. http://example.com:8080/?arg=AAA&arg=BBB)"},
flag{"close-signal", "", "Signal sent to the command process when gotty close it (default: SIGHUP)"},
}
mappingHint := map[string]string{