diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-22 02:50:55 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-05-22 02:50:55 -0700 |
commit | b49b082c4d77df817a4ec67528123aea8d36407e (patch) | |
tree | 18a54bdbf057988e6b409e8603aaa022bfc7a2dc | |
parent | f54c31eea40454a088751d07874eb8dee61c84c9 (diff) |
updating flags
-rw-r--r-- | cmd/ponzu/main.go | 2 | ||||
-rw-r--r-- | deployment/sysv/ponzu-server | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index b049f40..362ff6a 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -92,7 +92,7 @@ $ ponzu run --port=8888 api`, buildPathName := strings.Join([]string{".", name}, string(filepath.Separator)) serve := exec.Command(buildPathName, fmt.Sprintf("--port=%d", port), - fmt.Sprintf("--httpsport=%d", httpsport), + fmt.Sprintf("--https-port=%d", httpsport), addTLS, "serve", services, diff --git a/deployment/sysv/ponzu-server b/deployment/sysv/ponzu-server index d9eb82e..dbde929 100644 --- a/deployment/sysv/ponzu-server +++ b/deployment/sysv/ponzu-server @@ -9,7 +9,7 @@ ### END INIT INFO PROJECT_DIR=<PROJECT DIRECTORY> -SCRIPT='cd $PROJECT_DIR && ponzu run --port=80 --https' +SCRIPT='cd $PROJECT_DIR && ponzu run --port=80' # add --https here to get TLS/HTTPS RUNAS=<USER> PIDFILE=/var/run/ponzu-server.pid |