Browse files

Disable daemonize plugin

  • Loading branch information...
smfreegard committed Jan 24, 2013
1 parent d785f54 commit 049e98c33802edaf9eaa5f02f3c4b98dd2c561c8
Showing with 11 additions and 0 deletions.
  1. +5 −0 docs/plugins/
  2. +6 −0 plugins/daemonize.js
@@ -1,6 +1,11 @@
+IMPORTANT NOTE: This plugin should not be used any more and it will
+throw an error and prevent Haraka from starting.
+Daemonization is now built into Haraka. If the 'daemon' module is
+installed you simply set daemonize=true in config/smtp.ini now.
To use this plugin you have to install the 'daemon' module by running
'npm install daemon' in your Haraka configuration directory.
If daemon is not found then the plugin will log a notice and Haraka will
@@ -1,5 +1,11 @@
// daemonize
+// This plugin should not be used any more
+// Daemonization is now built-in to Haraka.
+throw new Error('The daemonize plugin should not be used.' +
+ ' Set daemonize=true in config/smtp.ini instead');
// npm install daemon
var daemon;
try { daemon = require('daemon'); }

0 comments on commit 049e98c

Please sign in to comment.