diff --git a/README.md b/README.md index f2575f7..f89bb82 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,7 @@ func main() { - [maxxant](https://github.com/maxxant) - [1for](https://github.com/1for) - [okamura](https://github.com/sidepelican) +- [0X8C - Demired](https://github.com/Demired) All the contributors are welcome. If you would like to be the contributor please accept some rules. - The pull requests will be accepted only in "develop" branch diff --git a/daemon.go b/daemon.go index ade1105..2a65b22 100644 --- a/daemon.go +++ b/daemon.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package daemon 0.9.0 for use with Go (golang) services. +Package daemon 0.9.1 for use with Go (golang) services. Package daemon provides primitives for daemonization of golang services. This package is not provide implementation of user daemon, diff --git a/daemon_linux_upstart.go b/daemon_linux_upstart.go index ab3951f..899653b 100644 --- a/daemon_linux_upstart.go +++ b/daemon_linux_upstart.go @@ -186,6 +186,7 @@ author "Pichu Chen " start on runlevel [2345] stop on runlevel [016] +respawn #kill timeout 5 exec {{.Path}} {{.Args}} >> /var/log/{{.Name}}.log 2>> /var/log/{{.Name}}.err