Permalink
Browse files

Added ubuntu upstart script (tested on precise)

  • Loading branch information...
1 parent 4aa7604 commit 1f768ec6a033e92395c01555e7277ad81e5d4eac Giovanni Toraldo committed Aug 3, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 contrib/distro/ubuntu/graylog2-server.conf
@@ -0,0 +1,12 @@
+description "graylog2-server upstart script"
+author "Giovanni Toraldo <me@gionn.net>"
+
+start on started mongodb
+stop on runlevel [06]
+
+expect fork
+
+script
+ cd /opt/graylog2-server
+ exec java -jar graylog2-server.jar &
+end script

0 comments on commit 1f768ec

Please sign in to comment.