Update service_upstart_linux.go
This commit is contained in:
committed by
Daniel Theophanes
parent
14a49b39b3
commit
89346fbade
@@ -156,7 +156,7 @@ func (s *upstart) Restart() error {
|
|||||||
// the program before the Stop handler can run.
|
// the program before the Stop handler can run.
|
||||||
const upstartScript = `# {{.Description}}
|
const upstartScript = `# {{.Description}}
|
||||||
|
|
||||||
{{if .DisplayName}}description "{{.DisplayName}}"{{end}}
|
{{if .DisplayName}}description "{{.DisplayName}}"{{end}}
|
||||||
|
|
||||||
kill signal INT
|
kill signal INT
|
||||||
{{if .ChRoot}}chroot {{.ChRoot}}{{end}}
|
{{if .ChRoot}}chroot {{.ChRoot}}{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user