Permalink
Browse files

Make the upstart script respawn the remote_syslog process if it crashes

  • Loading branch information...
1 parent 4160b69 commit 4b8c643d3cc0642d1e9722c4fdd7a994cd553be2 @pgerlach pgerlach committed Dec 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 examples/remote_syslog.upstart.conf
@@ -2,6 +2,8 @@ description "Monitor files and send to remote syslog"
start on runlevel [2345]
stop on runlevel [!2345]
+respawn
+
pre-start exec /usr/bin/test -e /etc/log_files.yml
exec /var/lib/gems/1.8/bin/remote_syslog -D --tls

0 comments on commit 4b8c643

Please sign in to comment.