[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Why didn't spamd restart?
- Subject: Re: [vps-mail] Why didn't spamd restart?
- From: Scott Wiersdorf <scottw@xxxxxxxxxxxx>
- Date: Fri, 13 Feb 2004 15:27:52 -0700
On Fri, Feb 13, 2004 at 02:09:24PM -0800, Abigail Marshall wrote:
> I now have the rc file command written like this:
>
> /usr/local/bin/virtual ~/usr/local/bin/spamd -d .....
>
> Note the tilde ~ before the path to spamd. I'm realizing
> that I probably don't need this following the virtual
> command, but I want to confirm that it will work this way. I
> think its just force of habit that compels me to always
> include the ~ when specifying a virtual path.
I (personally) would remove the ~. The ~ is a shell feature that is
usually translated to the HOME environment variable, but not always
(depending on your shell). The 'virtual' command resets the HOME
environment variable to '/', so it will probably work in this
particular case.
For cleanliness, however, and if for some reason you someday set
cron's SHELL or HOME environment variables to something other than
their defaults, your spamd line will still continue to work. In short,
it's just a little bit safer to remove the ~, but will work either way
in most cases.
Scott
--
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
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