[GRLUG] weird initscript issue

Jeff DeFouw mrj at plorb.com
Sun Oct 6 15:00:55 EDT 2013


On Sun, Oct 06, 2013 at 02:35:33PM -0400, megadave wrote:
> Ok, I have an initscript which is doing something very strange.
> 
> It has an "if, elif, else" clause, and for some reason, even though
> the "elif" code is being run, it is ALSO running the "else" code.

> And here is the output from running it:
> 
> *** started ***
> /usr/bin/stunnel4 : /etc/stunnel/pop3.conf
> [* Started: /etc/stunnel/pop3.conf] *** failed ***
> [Failed: /etc/stunnel/pop3s.conf]
> You should check that you have specified the pid= in you configuration file

Those are two separate runs of your script with different values for the 
file variable:

file=/etc/stunnel/pop3.conf

file=/etc/stunnel/pop3s.conf

-- 
Jeff DeFouw <mrj at plorb.com>


More information about the grlug mailing list