Re: RH9 Processes Failing

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

 



On Mon, Jan 12, 2004 at 05:03:45PM -0500, salvatore wrote:
> > This is a strange place to be running these sorts of applications.  You
> > should, instead, create a start/stop script for in /etc/rc.d/init.d - a
> > good approach would be to copy one of the scripts there and modify it
> > accordingly.  Then do:
> > # chckconfig --add cam          or whatever you call your script
> > # service cam start             to start it now
> >
> > I suspect the issue you're seeing with putting it in inittab is that
> > /home might not be mounted at the time your application starts.
> 
> Needless to say, Im a bit new at this.  Ive been researching since your
> suggestion, and I havent found where a file in /etc/rc.d/init.d actually
> runs the application.
> For example, here is the contents of the yum file there:

That seems to be a bad example since it doesn't do anything...  I've
never run yum, but that script looks weird to me.

Look at something simpler like atd or crond.  psacct also seems like a
nice example.

> Where can I learn more about doing what Im looking for?

man chkconfig

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux