Date: Mon, 15 Dec 2008 23:27:09 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: KES <kes-kes@yandex.ru> Cc: freebsd-questions@freebsd.org Subject: Re: Startup scipt Message-ID: <20081215232308.M56482@wojtek.tensor.gdynia.pl> In-Reply-To: <569944077.20081215235643@yandex.ru> References: <569944077.20081215235643@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <service_name>_<instance_name>_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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081215232308.M56482>