Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
A special key, not defaul behaviour
28 =D0=B0=D0=B2=D0=B3. 2015 =D0=B3. 19:05 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=
=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Allan Jude" <allanjude@freebsd.org=
>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

> 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)
>
> --
> Allan Jude
>
>



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