PDA

View Full Version : Service command



emypisqua
03-14-2005, 06:35 PM
I use to type the "service" command in MDK to start demons and so on...
In Knoppyx there isn't ... is there something else like it ?
Many thanks.

markpreston
03-14-2005, 11:30 PM
/etc/init.d/service start

for "service" substitute apache or mysql, or whatever the service is you want to start.
As root
ksysv
may also help as a graphical program.

emypisqua
03-15-2005, 07:52 PM
/etc/init.d/service start


There isn't this script in my Knoppix 3.6 !

markpreston
03-15-2005, 09:28 PM
That's why I wrote "substitute the word service".
ksysv should give you a full list of available services.
Does ksysv work?

emypisqua
03-16-2005, 11:08 PM
That's why I wrote "substitute the word service".
ksysv should give you a full list of available services.
Does ksysv work?
Many thanks. It works ! Though it seems a bit different the info of the "service" command .....but I've to learn more about Ksysv .
Regards.

Dave_Bechtel
03-17-2005, 09:14 PM
' jstar /usr/local/bin/service '



#!/bin/sh
/etc/init.d/$1 start
exit;


--Hit Ctrl-K,X to save and quit, then when you type "service inetd start" it should work the way you expect.


I use to type the "service" command in MDK to start demons and so on...
In Knoppyx there isn't ... is there something else like it ?
Many thanks.