View previous topic :: View next topic |
Author |
Message |
thompsonmike Apprentice
Joined: 19 Jan 2004 Posts: 275 Location: Bath UK
|
Posted: Fri Jan 23, 2004 8:24 pm Post subject: local.start local.stop question |
|
|
If I put a command in local.start, what would I need to put in local.stop to kill it if the server needs to go down?
The command I am running is
/etc/postfix/mailgraph-1.6/mailgraph.pl
A perl script to monitor Postfix queues, it runs as a daemon, but has no shutdown options!
Any ideas??? _________________ Thanks
Michael.. |
|
Back to top |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Fri Jan 23, 2004 8:26 pm Post subject: |
|
|
If it doesn't provide any clean shutdown command, then you might as well just wait for init to kill it off at shutdown. If you really want to get rid of it in local.stop, try killall mailgraph.pl |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|