View previous topic :: View next topic |
Author |
Message |
Snake007uk Apprentice
Joined: 12 Jan 2003 Posts: 198 Location: London, UK
|
Posted: Wed Jan 15, 2003 10:57 pm Post subject: missing command ? |
|
|
the command "service" is what im thinking about
in redhat for instance i can do
service network restart
and all network service would be restartd
or
service httpd restart
sohowdo ido this in gentoo, ithougth serviewas a standard linux command i guess not then? _________________ Snake
Dual AMD MP 2800+, Asus A7M266-D, 1GB Ram, 18.1GB u160 HD, ATI Radeon 9600 Pro, Creative Audigy ZS, Intel SRCU31A, Linksys NIC, iiyama 18.1 4637bk lcd |
|
Back to top |
|
|
AndiW n00b
Joined: 11 Jan 2003 Posts: 65 Location: Vienna - Austria
|
Posted: Wed Jan 15, 2003 11:04 pm Post subject: |
|
|
Use the scripts in /etc/init.d/:
For example:
Code: | /etc/init.d/apache restart
/etc/init.d/net.eth0 stop |
_________________ A beginning is the time for taking the most delicate care that balances are correct. -- Princess Irulan, "Manual of Muad'Dib" |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Thu Jan 16, 2003 12:45 am Post subject: |
|
|
More information regarding Gentoo rc-scripts here. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20581
|
|
Back to top |
|
|
|