[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [vps-mail] SA 3.02 - restarting spamd to read local.cf whitelists?



--- ADNET Ghislain <gadnet@xxxxxxxxxx> wrote:

> i think that this line is less violent as it only
> ask to reread the 
> configuration, it serve a different purpose:
> 
> 
> alias spamdreload "kill -HUP `cat
/var/run/spamd.pid`"
> 

Thanks for this suggestion - I want to note that this
will only work ONCE per shell session. That's because
the string `cat /var/run/spamd.pid` incorporates the
process id number that exists as of the time the shell
is started into the alias.  If you run this command, a
new process is started -- but the alias is not
updated.

Obviously, if you are efficient, you shouldn't have to
run the command repeatedly - you should only run it
after completing any changes to .cf files.  

However, I'm not efficient. :(  
I make changes, then think about it, and make even
more changes.  

-Abigail 
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: