Permalink
Browse files

Add Ubuntu server configuration for Haraka.

  • Loading branch information...
1 parent 870bf1f commit 77308a77f21721b1536e57b81a9c34c29cfb771a @dweekly dweekly committed Jul 1, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 contrib/haraka.conf
View
@@ -0,0 +1,24 @@
+# haraka - nodejs email server
+#
+# Ubuntu Upstart script (place in /etc/init and run "initctl start haraka")
+# (Assumes running w/the daemonize plugin)
+
+description "Haraka Email Server"
+
+start on filesystem or runlevel [2345]
+stop on runlevel [!2345]
+
+respawn
+respawn limit 10 5
+umask 022
+
+console none
+
+pre-start script
+ test -x /usr/bin/haraka || { stop; exit 0; }
+ test -c /dev/null || { stop; exit 0; }
+end script
+
+expect fork
+
+exec /usr/bin/haraka -c /root/haraka_fwdmx

0 comments on commit 77308a7

Please sign in to comment.