Remove debug statements
This commit is contained in:
@@ -38,12 +38,10 @@ func startWebServer() error {
|
|||||||
cmd := exec.Command("strmqweb")
|
cmd := exec.Command("strmqweb")
|
||||||
// Set a default app password for the web server, if one isn't already set
|
// Set a default app password for the web server, if one isn't already set
|
||||||
_, set := os.LookupEnv("MQ_APP_PASSWORD")
|
_, set := os.LookupEnv("MQ_APP_PASSWORD")
|
||||||
log.Println(cmd.Env)
|
|
||||||
if !set {
|
if !set {
|
||||||
// Take all current environment variables, and add the app password
|
// Take all current environment variables, and add the app password
|
||||||
cmd.Env = append(os.Environ(), "MQ_APP_PASSWORD=passw0rd")
|
cmd.Env = append(os.Environ(), "MQ_APP_PASSWORD=passw0rd")
|
||||||
}
|
}
|
||||||
log.Println(cmd.Env)
|
|
||||||
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
||||||
uid, gid, err := command.LookupMQM()
|
uid, gid, err := command.LookupMQM()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user