From owner-freebsd-hackers@freebsd.org Fri Aug 28 16:17:06 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 1F2899C53B3 for ; Fri, 28 Aug 2015 16:17:06 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC2F9EDC; Fri, 28 Aug 2015 16:17:05 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by wibcx1 with SMTP id cx1so1273018wib.1; Fri, 28 Aug 2015 09:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yHo3C2NLtiOSmWfRCzzZum9j7tNRZ0xiz9flB5GrYZc=; b=Lwi2NJNAUw94zg4wpSY74o0wnLtntrAm8vZ6Y7MDyMIWRIdVw/e5tTrp2MI/grVQcl OOXHk5J0TgHRb1AqI5c8BOq7n5LPdiwG/sW5NL98FawtqguPgF9llX+1HVImLv2Fp4fw IHBoFrFswbOlN1G3aGSdGLaM+9XQzBHVt1oV6r6Ma1c8zaUSRbL86Ss/68EzrL5ZdWCV xbGmKK4iHwdcH4kG+MZ1QPowEudYEfRNtVK52+Uxj2UrrTYLvcxS7yHGMFas6N/9U60A DYufw4uNB8aPbCmv1CW4BYoLyFB9YQGGdmN+mpRXq6TGAwfixe9XRjVe/23ExkuI3hEG Kqmw== MIME-Version: 1.0 X-Received: by 10.194.2.9 with SMTP id 9mr11818149wjq.95.1440778623930; Fri, 28 Aug 2015 09:17:03 -0700 (PDT) Received: by 10.28.9.195 with HTTP; Fri, 28 Aug 2015 09:17:03 -0700 (PDT) Received: by 10.28.9.195 with HTTP; Fri, 28 Aug 2015 09:17:03 -0700 (PDT) In-Reply-To: <55E086D3.1040700@freebsd.org> References: <55DF261C.80009@freebsd.org> <20150827200534.GH16003@e-new.0x20.net> <55E086D3.1040700@freebsd.org> Date: Fri, 28 Aug 2015 19:17:03 +0300 Message-ID: Subject: Re: How to control and setup service? From: Pavel Timofeev To: Allan Jude Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:17:06 -0000 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" =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 > >