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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux