diff --git a/service_upstart_linux.go b/service_upstart_linux.go index 4695e8f..6e73e82 100644 --- a/service_upstart_linux.go +++ b/service_upstart_linux.go @@ -156,7 +156,7 @@ func (s *upstart) Restart() error { // the program before the Stop handler can run. const upstartScript = `# {{.Description}} - {{if .DisplayName}}description "{{.DisplayName}}"{{end}} +{{if .DisplayName}}description "{{.DisplayName}}"{{end}} kill signal INT {{if .ChRoot}}chroot {{.ChRoot}}{{end}}