Re: how to start a service at startup?

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

 



On Wed, Jul 28, 2004 at 12:19:04PM -0400, rahul b jain cs student wrote:
> On Wed, 28 Jul 2004, Jianping Zhu wrote:
> 
> >
> > i have a proftpd. now i have to type proftpd to start this service. i
> > want to start it at server startup. how can i do that?
> > os: redhat9.0
> >
> edit the file /etc/rc.local

No! This is a poor solution to the problem. The initscripts solutions
should be used for cases like this.

The easiest thing to do is to grab the proftpd package from Dag's
archive.  Install it and you'll have /etc/rc.d/init.d/proftpd.  Simply
enable it as follows:

# chkconfig proftpd on

Poof, you're done.  If you want to start it now before a reboot:

# service proftpd start

You may also want to look at setting up a yum client to
identify/retrieve updates from Dag's archives.  That way you'll know
when new versions come out and have an easy way of updating them.

-- 
Ed Wilts, RHCE
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