Send welcome and unsubscribe confirmation emails

This commit is contained in:
Andris Reinman 2016-04-21 20:17:19 +03:00
parent 15ed41741e
commit 9e3b42e11c
12 changed files with 189 additions and 33 deletions

View file

@ -13,5 +13,5 @@ respawn limit 10 0
script
cd /opt/mailtrain
exec node index.js >> /var/log/mailtrain.log 2>&1
exec npm start >> /var/log/mailtrain.log 2>&1
end script

View file

@ -178,6 +178,6 @@ runUpdates(err => {
log.error('sql', err);
process.exit(1);
}
log.info('sql', 'Database update completed');
log.info('sql', 'Database check completed');
process.exit(0);
});