Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

From: Allan Jude <allanjude_at_freebsd.org>
Date: Fri, 18 Jul 2014 09:28:10 -0400
On 2014-07-17 16:12, Adrian Chadd wrote:
> On 17 July 2014 13:03, Alberto Mijares <amijaresp_at_gmail.com> wrote:
>> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd <adrian_at_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?
> 
> 
> 
> -a
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

We could make 'service apache22 enable'

which can run: sysrc -f /etc/rc.conf apache22_enable="YES"

and 'service apache22 disable'

that can use sysrc -x

And then ports can individually extend the functionality if they require.

-- 
Allan Jude


Received on Fri Jul 18 2014 - 11:27:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC