Date: Fri, 28 Aug 2015 19:17:03 +0300 From: Pavel Timofeev <timp87@gmail.com> To: Allan Jude <allanjude@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: How to control and setup service? Message-ID: <CAAoTqfvGXevDtzHEevzuS_kwaezrJftQaY2R4H9UxNnBcEBYfg@mail.gmail.com> In-Reply-To: <55E086D3.1040700@freebsd.org> 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> <55E086D3.1040700@freebsd.org>
index | next in thread | previous in thread | raw e-mail
A special key, not defaul behaviour 28 авг. 2015 г. 19:05 пользователь "Allan Jude" <allanjude@freebsd.org> написал: > On 2015-08-28 12:03, Pavel Timofeev wrote: > > One more idea is to have a key that would delete from rc config file any > > 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= ? > > 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) > > -- > Allan Jude > >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfvGXevDtzHEevzuS_kwaezrJftQaY2R4H9UxNnBcEBYfg>
