Kevin Mark wrote:
On Sun, Feb 05, 2006 at 01:37:40PM -0800, Rob Blomquist wrote:Under RH, to type "service sensord restart" will kill and restart sensord.I can't find an equivalent command. Is there one? Otherwise, how to I kill and restart a service? Can I find a list of running services, the same as "service -s"?RobHi Rob, on debian there are a few redhatism that have not been created: this is one of them. here are a few: 1) rh has runlevels with special meanings, debian makes 2-5 the same with 2 being the default with no special network/x/etc meaning
These distinctions (at least 3 and 5) are actually useful when debugging problems with your X config. It just saves a step on some activity.
On debian, I have to kill gdm, fiddle, and restart it.
2) no 'service ....'instead we use /etc/init.d/service start/stop/restart and AFAICT no 'status'
Running both systems, status is another feature that's very useful.
3) no tool like the runlevel/services editor in rh. the tools are there but they dont do it the rh way
What are the "official" debian tools for doing this stuff? I use wajig for starting and stopping services manually. It's very useful, though hardly a "standard" tool.
Having default startup numbers in the init scripts is handy at times as well.I usually find redhat's stuff easier to configure. On the other hand, the debian package repository is second to none, which is why I run it.
Jerry Quinn