From owner-freebsd-questions@freebsd.org Wed Sep 7 11:46:03 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 802AABCFBAB for ; Wed, 7 Sep 2016 11:46:03 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 65DC3FBE for ; Wed, 7 Sep 2016 11:46:03 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: by mailman.ysv.freebsd.org (Postfix) id 61E30BCFBAA; Wed, 7 Sep 2016 11:46:03 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61954BCFBA9 for ; Wed, 7 Sep 2016 11:46:03 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18C0CFB9 for ; Wed, 7 Sep 2016 11:46:02 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 4E0A4D7884 for ; Wed, 7 Sep 2016 18:45:54 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1473248753; x=1475063154; bh=HFdqo0sv69eFt7nd/60meA gfiK8xFT7O4v3LmeqTBB0=; b=Xm6R3hR46EH3P7prqKMKj6bq+nIkqV7Hjzz62z OebiEau0ehdMQZFKqKGRhHFPWMjsM/Bk1PXkjHxqGRvq+ziKCS1RtRxoi4YREKhv Df4iLmK36NnmpfxwWraYg2cdoaQhGnmPF46H24Yt9xhY17z5twhDE8Y0ipr8xBYC t7Boo= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AsHP1iQ-Dgcf for ; Wed, 7 Sep 2016 18:45:53 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 66090D7881 for ; Wed, 7 Sep 2016 18:45:53 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id u87BjqQI004623; Wed, 7 Sep 2016 18:45:52 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: questions@freebsd.org Subject: Start to instances of a service Date: Wed, 07 Sep 2016 18:45:52 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 11:46:03 -0000 Hi, Is there a recommended way, in FreeBSD, to start two instances of a given service? For the default, I have most of the option in /etc/rc.conf and eventually some configuration file in /usr/local/etc. OK, I could create an alternate configuration file, but what to put in /etc/rc.conf? Before hacking it my own way, I'd like to know if there is any recommended policy in FreeBSD. Best regards, Olivier --