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

Allan Jude allanjude at freebsd.org
Fri Jul 18 13:27:53 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140718/dc92f3e4/attachment.sig>


More information about the freebsd-current mailing list