adding a servoce
Antonio Olivares
olivares14031 at yahoo.com
Sun Jan 21 02:19:04 UTC 2007
--- Jim Douglas <jdz99 at hotmail.com> 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 at redhat.com
> 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 at 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 at 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.
More information about the fedora-list
mailing list