Starting a service
Les Mikesell
les at futuresource.com
Mon Jan 10 17:51:39 UTC 2005
On Mon, 2005-01-10 at 10:03, Alexander Dalloz wrote:
> > > How do I start a service to run from start up - I don't have a windowing
> > > system set on the machine, so s-c-s is out of the question.
> Paul said he has no X running on the machine where he wants to configure
> service starts.
>
> Besides "chkconfig" which was already mentioned, "setup" can be used.
> "chkconfig" is to be prefered as it has options to defined service
> starts/stops independent from current runlevel.
I use chkconfig for this myself, but note that it is possible to
use the GUI tools from a remote X connection even if the machine
itself is not running X locally (it must have the libs installed).
For example, from another desktop,
ssh -X remote_machine
log in, su - root, then
# system-config-services
and the window running the system tool will open on your local desktop.
I generally *do* use this technique for network changes using
system-config-network because I can't keep track of all the
new gunk about profiles and stuff that can undo simple changes
to the /etc/syconfig/network-scripts/* files when you reboot.
--
Les Mikesell
les at futuresource.com
More information about the users
mailing list