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
9a3618f06b
commit
01c9cdd60a
@ -15,6 +15,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
_ "time/tzdata"
|
||||||
)
|
)
|
||||||
|
|
||||||
func parsePublicId(path string) (publicId string, _ error) {
|
func parsePublicId(path string) (publicId string, _ error) {
|
||||||
@ -53,6 +54,7 @@ func printHelp(msg string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
downloadDir := "../static"
|
downloadDir := "../static"
|
||||||
|
|
||||||
args := os.Args[1:]
|
args := os.Args[1:]
|
||||||
|
@ -10,3 +10,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
CONVERGE_USERNAME: abc
|
CONVERGE_USERNAME: abc
|
||||||
CONVERGE_PASSWORD: "123"
|
CONVERGE_PASSWORD: "123"
|
||||||
|
TZ: "Japan"
|
||||||
|
@ -27,5 +27,7 @@ spec:
|
|||||||
- name: CONVERGE_PASSWORD
|
- name: CONVERGE_PASSWORD
|
||||||
# change this password in your final deployment
|
# change this password in your final deployment
|
||||||
value: "abc123"
|
value: "abc123"
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Amsterdam
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,13 +12,13 @@ templ Usage(secure string, host string, username string) {
|
|||||||
</p>
|
</p>
|
||||||
<pre>{`
|
<pre>{`
|
||||||
# linux
|
# linux
|
||||||
`}curl http{secure}://{host}/static/session > session{`
|
`}curl http{secure}://{host}/static/agent > agent{`
|
||||||
chmod 755 agent
|
chmod 755 agent
|
||||||
`}./agent --id ID ws{secure}://{host}{`
|
`}./agent --id ID ws{secure}://{host}{`
|
||||||
rm -f agent
|
rm -f agent
|
||||||
|
|
||||||
# windows
|
# 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}{`
|
`}agent --id ID ws{secure}://{host}{`
|
||||||
del agent.exe
|
del agent.exe
|
||||||
`}</pre>
|
`}</pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user