Documentation ¶
Index ¶
Constants ¶
View Source
const RsyslogAppTemplate = `` /* 326-byte string literal not displayed */
View Source
const RunitTemplate = `#!/bin/bash
cd /app
{ exec chpst -u user1 {{.Cmd}} | logger -p local{{.Num}}.info; } 2>&1 | logger -p local{{.Num}}.error
`
View Source
const SetupTemplate = `#!/bin/bash -x
{{range .SetupCommands}}
{{.}}
{{end}}
`
Variables ¶
This section is empty.
Functions ¶
func WriteRsyslogAppConfig ¶
func WriteRunitScript ¶
func WriteSetupScript ¶
func WriteSetupScript(path string, manifest interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.