usage fix (agent was renamed by intellij to session)
Now using embedded timezone database by go so setting the TZ variable will work.
This commit is contained in:
parent
d6d2d5648c
commit
9d460b9cf3
@ -15,6 +15,7 @@ import (
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
_ "time/tzdata"
|
||||
)
|
||||
|
||||
func parsePublicId(path string) (publicId string, _ error) {
|
||||
@ -53,6 +54,7 @@ func printHelp(msg string) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
downloadDir := "../static"
|
||||
|
||||
args := os.Args[1:]
|
||||
|
@ -10,3 +10,4 @@ services:
|
||||
environment:
|
||||
CONVERGE_USERNAME: abc
|
||||
CONVERGE_PASSWORD: "123"
|
||||
TZ: "Japan"
|
||||
|
@ -27,5 +27,7 @@ spec:
|
||||
- name: CONVERGE_PASSWORD
|
||||
# change this password in your final deployment
|
||||
value: "abc123"
|
||||
- name: TZ
|
||||
value: Europe/Amsterdam
|
||||
|
||||
|
||||
|
@ -12,13 +12,13 @@ templ Usage(secure string, host string, username string) {
|
||||
</p>
|
||||
<pre>{`
|
||||
# linux
|
||||
`}curl http{secure}://{host}/static/session > session{`
|
||||
`}curl http{secure}://{host}/static/agent > agent{`
|
||||
chmod 755 agent
|
||||
`}./agent --id ID ws{secure}://{host}{`
|
||||
rm -f agent
|
||||
|
||||
# windows
|
||||
`}curl http{secure}://{host}/static/session.exe > session.exe{`
|
||||
`}curl http{secure}://{host}/static/agent.exe > agent.exe{`
|
||||
`}agent --id ID ws{secure}://{host}{`
|
||||
del agent.exe
|
||||
`}</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user