From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 22:27:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC5A1065704 for ; Mon, 15 Dec 2008 22:27:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 126618FC18 for ; Mon, 15 Dec 2008 22:27:17 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBFMR99e056639; Mon, 15 Dec 2008 23:27:09 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBFMR994056636; Mon, 15 Dec 2008 23:27:09 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 15 Dec 2008 23:27:09 +0100 (CET) From: Wojciech Puchar To: KES In-Reply-To: <569944077.20081215235643@yandex.ru> Message-ID: <20081215232308.M56482@wojtek.tensor.gdynia.pl> References: <569944077.20081215235643@yandex.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Startup scipt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 22:27:19 -0000 > instance it has first one already runned. And he add second instance > because of it is not enough to have only one instance. So > proftpd_enable="YES" will enable all instances > proftpd_enable="NO" will disable all instances > proftpd_external_enable="NO" will disable some instance > > For example: user run three instances, but now want to disable one of > them. So it write __enable="NO" > > > What do you think about this improvement? it's EXCELLENT. when i needed this i simply started things from /etc/rc.local but then killing/restarting any of them required manually doing ps |grep, kill etc... please contribute patches. it will be very useful. make sure for every instance you can give different parameters. example - one machine services 2 customers in one building, has 2 ethernets (+1 for external traffic), and i would like to run 2 samba servers with configs: /usr/local/etc/smb-net1.conf /usr/local/etc/smb-net2.conf