Commit a6601ae6 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

email: Fixed eventmachine dependency, and make sure the holding

direcotry for the sock is in place before starting.
parent d75a7271
......@@ -10,7 +10,7 @@ XS-Ruby-Versions: all
Package: symbiosis-email
Architecture: all
Pre-Depends: dpkg (>= 1.15.7.2)
Depends: symbiosis-common (>= 2014:0113), exim4-daemon-heavy, dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachin, ${misc:Depends}
Depends: symbiosis-common (>= 2014:0113), exim4-daemon-heavy, dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachine, ${misc:Depends}
Recommends: symbiosis-webmail
Replaces: bytemark-vhost-email, symbiosis-monit (<< 2011:1206), symbiosis-test
Breaks: symbiosis-monit (<< 2011:1206)
......
......@@ -55,8 +55,14 @@ end
# build-deps.
#
require 'eventmachine'
require 'symbiosis/email/dict_handler'
require 'syslog'
require 'symbiosis/utils'
require 'symbiosis/email/dict_handler'
#
# Make sure the parent directory is in place.
#
Symbiosis::Utils.mkdir_p(File.dirname(socket_path))
syslog = Syslog.open( File.basename($0), Syslog::LOG_NDELAY && Syslog::LOG_PERROR, Syslog::LOG_MAIL )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment