How are you calling the script?  Here is the line used by FC6 in the 
/etc/rc.d/init/postgresql file that is used to start the postmaster.  
Notice how the script supper users to postgres and the executes the 
command within the double quotes.

 $SU -l postgres -c "$PGENGINE/postmaster -p '$PGPORT' -D '$PGDATA' 
${PGOPTS} &" >> "$PGLOG" 2>&1 < /dev/null

Also, you can echo a line onto the screen from the calling script to 
make sure the startup procedures is hitting your calling code:

echo "Here we are"

The restart your system in a mode that displays lines on the screen as 
each service is started, and look for your line to appear.

Regards,

LelandJ

Wolfe, Stephen S YA-02 6 MDSS/SGSI wrote:
> Yep
>
> v/r
>  
>
> //SIGNED//
>
> Stephen S. Wolfe, YA2, DAF
> 6th MDG Data Services Manager
> 6th MDG Information System Security Officer
> Comm (813) 827-9994  DSN 651-9994
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Man-wai Chang
> Sent: Wednesday, August 08, 2007 10:35 AM
> To: [email protected]
> Subject: Re: [NF] Any Linux gurus here?
>
>   
>> So I go to rc3.d, add my S89network --> /home/user/script  link.
>> Problem is, it doesn't execute.  The script requires a 'start'
>>     
> parameter
>   
>> if called from a shell, but I thought any link starting with 'S' would
>> pass that to the script when called...yes/no?
>>     
>
> ownership and permission of /home/user/script correct?
>
>   



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to