From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 30 11:04:21 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24F62B09 for ; Thu, 30 Jan 2014 11:04:21 +0000 (UTC) Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA4EB1FCA for ; Thu, 30 Jan 2014 11:04:20 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id z10so2894503pdj.33 for ; Thu, 30 Jan 2014 03:04:20 -0800 (PST) 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=r2gs4W3PYXAeZDmlx5nt5MFN4SVJvwj+4fG/IkQN1Zk=; b=IhurhB7IQ21ctcvbmJY7z5CsS5DBy9aY/b0TPmkB7dkM86YM2dzPX1bBwIIpTXQ9OI R9e+vh53quOhGiEJm3BqCOkMja9hbP5v/ELw5WIrZOLEUhvRdtB4n20fR9h3qv64WO2Z 2GFGzvFoivNJqOi2I64bMkDimJYsGgCoooHKoomTyOC3IbyZBqg5bpRN4t1AxpQc0d4E gzj8qbfOgTvTvflfVzncvoae4SMvETdlhWfJQK8WXAoaE8hKOj/1bkd88b/4Eiei2b1/ P0/MHbi2J12Y0ou6Xo8/oVWmrJNZ2YW06K9CoWWqVjVsreDO9FYZa3qF8futOVqhz5xz AOzQ== MIME-Version: 1.0 X-Received: by 10.66.179.143 with SMTP id dg15mr13868090pac.52.1391079860524; Thu, 30 Jan 2014 03:04:20 -0800 (PST) Received: by 10.68.155.38 with HTTP; Thu, 30 Jan 2014 03:04:20 -0800 (PST) In-Reply-To: <9d330b03767e0ab8c663a9f246835dd9@mail.0x20.net> References: <52E9713F.9040508@callfortesting.org> <52E9757F.4050506@wasikowski.net> <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> <9d330b03767e0ab8c663a9f246835dd9@mail.0x20.net> Date: Thu, 30 Jan 2014 06:04:20 -0500 Message-ID: Subject: Re: best way to add www to wheel From: Aryeh Friedman To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 11:04:21 -0000 It was my understanding with staging that doing stuff like that was officially discouraged On Thu, Jan 30, 2014 at 5:40 AM, Lars Engels wrote: > Am 2014-01-30 11:21, schrieb Aryeh Friedman: > > So something like this in pkg-install? >> >> cat - << EOF > /usr/local/etc/sudoers.d/petitecloud >> Cmnd_Alias PETITECLOUD = /usr/sbin/service petitecloud stop, >> /usr/sbin/service petitecloud start, /usr/sbin/service petitecloud >> restart >> www ALL=(ALL) NOPASSWD: PETITECLOUD >> EOF >> >> note this will be 0.2.4 which I am planning some other changes for >> also like making the petitecloud account and /usr/local/etc/rc.d >> optoinal and will need to ask (on the right list this time ;-)) how to >> do that best >> >> >> > I'd rather create the file as files/petitecloud.in and manually install it > with the post-install: target. > > > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org