Re: adding a servoce

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

 



--- 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


 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.

[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