Score:0

crashmail location won't update in supervisord

cn flag

I am trying to get notified when Django celery exits so I installed superlance and added this to the supervisord config file:

/home/scheduler/bin/crashmail

[eventlistener:crashmail]
command=/usr/local/bin/crashmail -p celeryworker -p celerybeat -m [email protected]
events=PROCESS_STATE

And then run sudo supervisorctl update, but noticed that crashmail isn't working:

celerybeat                       RUNNING   pid 21909, uptime 306 days, 20:12:36
celeryworker                     RUNNING   pid 21908, uptime 306 days, 20:12:36
crashmail                        FATAL     can't find command '/usr/local/bin/crashmail'
scheduler                        RUNNING   pid 6784, uptime 25 days, 1:04:44

I realized crashmail location was actually /home/scheduler/bin/crashmail, so I changed it and then ran supervisorctl update again. But I'm still getting the FATAL state for crashmail. What's happening here?

Bonus: how do I set up the SMTP server for crashmail? I haven't found any information about that.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.