Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Command to stop mailman ? #148

Open
tbuyle opened this issue Jan 11, 2017 · 1 comment
Open

Command to stop mailman ? #148

tbuyle opened this issue Jan 11, 2017 · 1 comment

Comments

@tbuyle
Copy link

tbuyle commented Jan 11, 2017

I use the command line to start mailman as a daemon with something like

RAILS_ENV=production bundle exec mailman -c mailmain/config.rb -p pids/mailman.pid

But there seems to be no equivalent tos top mailman. I currently kill the process identified by the .pid file but was wondering if there is a command line for this.

@UnConundrum
Copy link

Just my 2 cents...
When I want it to quit, I
touch /tmp/abort

to my app, I added:
if File.exists?("/tmp/abort") abort "Following instruction to abort due to existence of abort file in /tmp" exit! end

Sometimes the abort doesn't seem to work, so I added the exit!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants