You are not logged in.

#1 2005-01-05 16:46:03

BlackFenix
Member
Registered: 2004-11-02
Posts: 61

Modules, services and rc.conf

after change my rc.conf how i can restart services, reload modules without reboot my system ?


[img]http://www.archlinux.org/logos/button.png[/img]
The poem is the ash of Fênix that the soul of somebody transforms into dream and transforms into body and later into light.

Offline

#2 2005-01-05 17:17:33

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Modules, services and rc.conf

to start a service, go to the services directory and use the start command. ex:

$ cd /etc/rc.d
# ./network start
# ./cups start

or from anywhere:

# /etc/rc.d/cups start

you can also use restart and stop the same way.

to load modules, modprobe them, ex:

# modprobe cs46xx

Offline

#3 2005-01-05 17:18:48

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Modules, services and rc.conf

your modules can you just modprobe,

# modprobe modulename

the daemons are not so easy but you can take look in /etc/rc.d , for example network is restarted with,

# /etc/rc.d/network restart

some of the rc.d scripts give you their options if you just run them by name,

good luck

Edit: slackhack was faster...


arch + gentoo + initng + python = enlisy

Offline

#4 2005-01-05 17:19:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Modules, services and rc.conf

hmmm you can use telinit... but what are you changing? if you want to start or stop a "service" you can just do "/etc/rc.d/something {start | stop | restart}"

Offline

#5 2005-01-05 17:39:20

BlackFenix
Member
Registered: 2004-11-02
Posts: 61

Re: Modules, services and rc.conf

so simple... like slack... but more fast and with pacman. thank's.


[img]http://www.archlinux.org/logos/button.png[/img]
The poem is the ash of Fênix that the soul of somebody transforms into dream and transforms into body and later into light.

Offline

Board footer

Powered by FluxBB