Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 12:05:39 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: How to control and setup service?
Message-ID:  <55E086D3.1040700@freebsd.org>
In-Reply-To: <CAAoTqfvHfZpdE7QcVGx_BWabdXN68XOGWOcJM33VoKfR7j6Dhw@mail.gmail.com>
References:  <CAAoTqfvxUznJp%2BtguAaYQ=5HfKXTG%2BGxY644wvqm4e9=E8WuHw@mail.gmail.com> <55DF261C.80009@freebsd.org> <20150827200534.GH16003@e-new.0x20.net> <CAAoTqfthyGatRokfv-umxjxNp3Qj9xE7A7veDFjQE%2B0PNUdDcA@mail.gmail.com> <CAAoTqfvHfZpdE7QcVGx_BWabdXN68XOGWOcJM33VoKfR7j6Dhw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E086D3.1040700>