Fixed bug in template

This commit is contained in:
Leon Mika 2024-07-13 11:31:33 +10:00
parent fd9f6cc178
commit 1698a45416
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@ import "log"
func main() {
cfg := readConfig()
log.Println("Reading config")
log.Printf(" .. host = %v", cfg.HostName)
log.Printf(" .. app = %v", cfg.AppName)
svc := NewServices(cfg)

View File

@ -94,8 +94,8 @@ var (
Host *
StrictHostKeyChecking no
Host {{.Cfg.Host}}
HostName {{.Cfg.Host}}
Host {{.Cfg.HostName}}
HostName {{.Cfg.HostName}}
User dokku
IdentityFile {{.Home}}/.ssh/id_rsa
`))