Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 28 lines (20 sloc) 0.538 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# haraka - nodejs email server
#
# Ubuntu Upstart script (place in /etc/init and run "initctl start haraka")
# (Assumes running w/the daemonize plugin)
#
# Contributed by "David Weekly" <david@weekly.org>
#

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 /var/haraka/fwdmx
Something went wrong with that request. Please try again.