From owner-freebsd-doc@FreeBSD.ORG Thu Jul 17 21:23:23 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FFBD5CD for ; Thu, 17 Jul 2014 21:23:23 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF8B82346 for ; Thu, 17 Jul 2014 21:23:22 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s6HLN9Na024818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 17 Jul 2014 22:23:09 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s6HLN9Na024818 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1405632189; bh=BXaZItcX9Jrf5s088WPu9a2Ma7VkdccUXgfGvhnORDA=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Thu,=2017=20Jul=202014=2022:23:00=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-doc@fr eebsd.org|Subject:=20Re:=20HOWTO=20articles=20for=20migrating=20fr om=20Linux=20to=20FreeBSD,=20especially=0D=0A=20for=20pkg?|Referen ces:=20=20=20=20=20<53C82EC4.8060304@gmail.com>=20 |In-Reply-To:=20; b=EcEu4BboqVx6d3zfuWUxSvHiwjCNpH9TgEssHI/Sr1X5J3UfDBSfMB7Oao2xN8squ Dn2VLXzznyxxRqXTz90H3lZgX3KVfz6WjYN+EvLiyl7Ewd04wW3xlZlTdWnxFN+lNy t138OISfWqga78SoXGTeAzKUIquC/Zv4rvc9T6Xg= Message-ID: <53C83EB4.2060202@infracaninophile.co.uk> Date: Thu, 17 Jul 2014 22:23:00 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bCbX6de2FahsmorKEk6rRshjT4NRLplqG" X-Virus-Scanned: clamav-milter 0.98.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 21:23:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bCbX6de2FahsmorKEk6rRshjT4NRLplqG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/07/2014 21:21, Andreas Nilsson wrote: >>>> No. Please NEVER do that! The user must be able to edit the files an= d >>>> > >> start the service by himself. >>> > > >>> > > Cool, so what's the single line command needed to type in to star= t a >>> > > given package service? >> > >> > Aren't sysrc(8) and service(8) for this kind of stuff? >> > > They sure are. >=20 > Well, pkg install $service ; sysrc ${service}_enable=3D"YES" would do. > Although some services have different names than the packge, which is s= ort > of annoying. >=20 > I wouldn't mind though if pkg via dialog or some such mechanism asked i= f > wanted it enabled. Or via pkg-message told me howto enable it. I quite like the idea of having eg, an apache-config package, which when installed sets up httpd.conf in a way that allows adding phpMyAdmin-config or other similar application config packages on top. And enables everything in rc.conf, if not firing up apache on install[*].= *But* this should be separate from packages that install the software so if you want to write your own configuration you don't have to go through and unpick the pre-canned setup. Sometimes you just need to sling something on a box and have it working ASAP. Cheers, Matthew [*] Well, actually it go for nginx + php-fpm + webapp rather than apache, but the principle is the same. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --bCbX6de2FahsmorKEk6rRshjT4NRLplqG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTyD68XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATtwgQAKvWygAccG+npxJjg9htkzho P0/lyQwwSmewPbmz+1tN7ZzmRyjCNA1WVhO6bywMr5Vtbv30ve5fpXV2FM+82nVz yjg2y5zhwQXE4MAzhqiEbYv2EqpI8w4SPfGzZw/XJcvc7xXPXaYyB7buOHwWD2AS vIOxWHyL8tEvEbe4Xat64VBfav4dBlNO7fMwdcUtY5ckPTiD9U1yilyGdAyVOiZ/ rvq/VWk+67lXxKLLzV5xBIrXxG46NywV1ddyGBkNreTERr2+IQLc2OnWSyi4um9j 88UaOdi4O6kVmfq6R1nA8axP2GYAAj6rFXGGAHDiLRaSNhEMtkdWTT4IoQPn4yn4 Z4sRY6Ckgy8dsB/H86+dL2YBPDTtiLPuYnrUG7OTHVm5WqcIzE3QYMNa6Pi+rJIj MlYn4+oqHlk6L35VeanaaDdQDNB8HlpM+NVjF7f8I4TnYh2XP3yBtjBK/3ZT92YN FRe+QxNQzDQn24xNTl6V9r1I+JJwMWJc6VNwZDj4BXxJOmJL5HsPnNAlNOyasfSl RNbgFW45V5YRq1F+YMQkxoQgYQj6sd2XBXdpn+Qo+4R9ne9kiLrPlXqV9YsN3zYq VDangTrOyPk165Lgb3yrb9xBkhsPbdNq5kDxN/YNMe47AiMUzJDVDbH8ZxqXUiWy 8xvKMORlZscKaZDY8N2/ =9s7o -----END PGP SIGNATURE----- --bCbX6de2FahsmorKEk6rRshjT4NRLplqG--