Re: HOWTO articles for migrating from Linux to FreeBSD, especial

看板FB_current作者時間11年前 (2014/07/18 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/28 (看更多)
On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar <nparhar@gmail.com> wrote: > On 07/17/14 13:12, Adrian Chadd wrote: > > On 17 July 2014 13:03, Alberto Mijares <amijaresp@gmail.com> wrote: > >> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd <adrian@freebsd.org> > wrote: > >>> Hi! > >>> > >>> 3) The binary packages need to work out of the box > >>> 4) .. which means, when you do things like pkg install apache, it > >>> can't just be installed and not be enabled, because that's a bit of a > >>> problem; > >> > >> > >> No. Please NEVER do that! The user must be able to edit the files and > >> start the service by himself. > > > > Cool, so what's the single line command needed to type in to start a > > given package service? > > Aren't sysrc(8) and service(8) for this kind of stuff? > They sure are. Well, pkg install $service ; sysrc ${service}_enable="YES" would do. Although some services have different names than the packge, which is sort of annoying. I wouldn't mind though if pkg via dialog or some such mechanism asked if wanted it enabled. Or via pkg-message told me howto enable it. /A _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Jo3B3N_ (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 10 之 28 篇):
文章代碼(AID): #1Jo3B3N_ (FB_current)