[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restarting all services



On 2002-11-08 23:03:22, Lance Hoffmeyer wrote:
> How can I restart all services without rebooting?

Review /etc/init.d or rc2.d if you prefer, then execute the scripts
associated with a service with the argument restart.  I would do
something along these lines:

for f in /etc/init.d/*; do echo $f restart >> /tmp/restart; done
vi /tmp/restart
. /tmp/restart


/Allan
-- 
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA

Attachment: pgpG7cYp0__Tm.pgp
Description: PGP signature


Reply to: