Re: adding a servoce

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

 



--- Antonio Olivares <olivares14031@xxxxxxxxx> wrote:

> 
> --- Jim Douglas <jdz99@xxxxxxxxxxx> wrote:
> 
> > Is this the proper way to add a service t oFC6?
> > 
> > cp /root/download/myservice /etc/init.d/myservice
> > chmod +x /etc/init.d/myservice
> > 
> > 
> > Thanks,
> > Jim
> > 
> >
>
_________________________________________________________________
> > Search for grocery stores. Find gratitude. Turn a
> > simple search into 
> > something more. 
> >
>
http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_gratitude&FORM=WLMTAG
> > 
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe:
> >
> https://www.redhat.com/mailman/listinfo/fedora-list
> > 
> 
> 
> Looks like that will work.  But it is much simpler
> to
> do the steps you outlined 
> 
> Become superuser
> $ su -
> password: ******
> # 
> > cp /root/download/myservice /etc/init.d/myservice
> > chmod +x /etc/init.d/myservice
> and 
> chkconfig myservice --add
> chkconfig myservice on
> and to check that the corresponding rc.X links got
> created, do
> [root@localhost rc.d]# for i in 0 1 2 3 4 5 6
> > do
> > ls rc$i.d/*slmodemd*
> > done
> and you should see something like
> rc0.d/K10myservice
> rc1.d/K10myservice
> rc2.d/S90myservice
> rc3.d/S90myservice
> rc4.d/S90myservice
> rc5.d/S90myservice
> rc6.d/K10myservice
> [root@localhost rc.d]#
> 
> If you see something like that, then your service
> will
> be setup and good to go.  
> 
> Regards,
> 
> Antonio
> 
Sorry to reply to my own mail, but Aaron, is correct
the myservice script should have a head script for
which to specify in which levels it should run.  Here
are some websites that will help explain this better

http://www.netadmintools.com/art94.html

and

http://linuxhelp.blogspot.com/2006/04/enabling-and-disabling-services-during_01.html

Regards,

Antonio 

> 
>  
>
____________________________________________________________________________________
> Any questions? Get answers on any topic at
> www.Answers.yahoo.com.  Try it now.
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> 



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux