From owner-freebsd-hackers@freebsd.org Fri Aug 28 16:04:57 2015 Return-Path: Delivered-To: freebsd-hackers@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 745269C4EB8 for ; Fri, 28 Aug 2015 16:04:57 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 516976E9 for ; Fri, 28 Aug 2015 16:04:57 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 978C796EE for ; Fri, 28 Aug 2015 16:04:56 +0000 (UTC) Subject: Re: How to control and setup service? To: freebsd-hackers@freebsd.org References: <55DF261C.80009@freebsd.org> <20150827200534.GH16003@e-new.0x20.net> From: Allan Jude Message-ID: <55E086D3.1040700@freebsd.org> Date: Fri, 28 Aug 2015 12:05:39 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IdNDH0vMe1bt1xhMUWRsnEH5mW5ePg9AQ" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 16:04:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IdNDH0vMe1bt1xhMUWRsnEH5mW5ePg9AQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-08-28 12:03, Pavel Timofeev wrote: > One more idea is to have a key that would delete from rc config file an= y > other rcopts which are not being set by tool when user run it. > Like delete all of already defined rcopts and then set only requested > rcopts. That is a big vague. If I understand correctly, you are saying, if you 'service mysql disable', you want it to delete mysql_datadir=3D ? I am not sure I like that. There is no harm in having the leftover variables left in place, and there is harm if you remove stuff people were expecting to keep around (if I say, disable the sql server before upgrading, and I don't want it to restart until I am sure my upgrade and 3 reboots have all gone successfully) --=20 Allan Jude --IdNDH0vMe1bt1xhMUWRsnEH5mW5ePg9AQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJV4IbTAAoJEBmVNT4SmAt+EygP/RQnSNFxYdTWv/35xmVSHdGB ulaaxT9vSSlYg/omLlX5UeKQM8sgSpwYTqKfPh3uBHR0BkmxOwGr156p7vEHFKoa 9SuhSc+qmT43AR3eALKq99UxPmJ85sbICAVVhC90l5TukO+FC1C21osM6hxmgdvd MGjVEwWv5FNcOcEd0D62fritJA1Bf4OGWwzorjhZex8Wpm2JRoWs2oKXGbZJncMN hr54CUzXsUgbsdLk93XMawDcXxxCj/TSHwKELXwRC3g3m7iZwnD7PZwlsLorpLjT DnVgq5Aqt7U+BN26tjnRfq1JUNjq1UfLjTeXwDnwzMGzrQcXjzQVEm1AODVcWiPL Io+RWMd3okQqfgBP4RnOh89+0jWrsOVgwERK7a7N2+HGea920bZNhuRuQUClYvhz K4sQTWGsha3WboRDLDR8uhuvNQT7r8GhZ8zs3bsi0jbgYKpJRZYB40AEZTqxe7ts nz4xY7WxrZ6oot52ggDPK000u9p370smJ2HUT5C4VTy+aGx2CNMV0VmYJmLJmHpt O/R33ERjqkG/JvQ2T7Nnp/BBIkH94dxM55finNzydbLcPCbtgPEulgoKIYRhI4AR 2Wk5CfL2ZtePhhi5yfL0Sd+USqoLvuzRkkseiwwOEQD2gTp2UEHfFQOPCpuHK1xJ R2aTqClcqlGYD9FTcy7j =I1N8 -----END PGP SIGNATURE----- --IdNDH0vMe1bt1xhMUWRsnEH5mW5ePg9AQ--