Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 16:07:17 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-doc@freebsd.org
Subject:   Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?
Message-ID:  <53C82CF5.9060807@freebsd.org>
In-Reply-To: <CAJ-VmonjWkm=A40-4sF_yjUm=djPyvM5KHnDsevDq63u-Yo6mA@mail.gmail.com>
References:  <CAG=rPVcyqq2072%2BgF_X91BocxykJB6%2BU0cMhaNexxfVFpVqUbA@mail.gmail.com> <CAJ-Vmo=p6-7KCL8C09O4dPq04pitW5wDbtsDAyz-u4Qtr7rpRA@mail.gmail.com> <CAPS9%2BSt%2BFF2_-FbrCTXF-D3Vb7DhnOEHDti%2B5WXeO=BYu=QeGA@mail.gmail.com> <CAJ-VmonjWkm=A40-4sF_yjUm=djPyvM5KHnDsevDq63u-Yo6mA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2014-07-17 16:00, Adrian Chadd wrote:
> On 17 July 2014 12:57, Andreas Nilsson <andrnils@gmail.com> wrote:
>>
>>
>>
>> On Thu, Jul 17, 2014 at 9:28 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;
>>
>> I disagree on this. For network services on linux ( apart from ssh ), I want
>> that started very seldom. But I do want the package installed so that when I
>> need it, it is there. Having it autostart as part of being installed is
>> breaking KISS and in some way unix philosophy: I asked for something to be
>> installed, not installed and autostarted.
> 
> That's cool. We can disagree on that. But the fact that you have to
> edit a file to enable things and hope you get the right start entry in
> /etc/rc.conf or /usr/local/etc/rc.conf, or wherever you put it is, is
> a pain.
> 
> 
> 
> 
> -a
> _______________________________________________
> freebsd-doc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
> 

You can actually do files in /etc/rc.conf.d/appname

However those files are only included when you do 'service appname start'

So you can't just put random settings in /etc/rc.conf.d/adrian

I can't make puppet include denyhosts_enable="YES" in /etc/rc.conf.d/sshd

But, a /usr/local/etc/rc.conf.d/ could be used to enable-on-install, if
we wanted to lean in that direction. I am a little divided on that. I
don't like the fact that linux enables stuff by default as soon as you
install it.



-- 
Allan Jude


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTyCz4AAoJEJrBFpNRJZKfa2sQAInCOG/5snUKphs3DXPbulQF
sn+XOOjRQKTDzE3C07WSz4NIDQEvar93N1QcJKcUI1pcVbw3L3S6EA+ArposJJDK
6NO521w34pc9dni4vJ/sTdlGEmWZEAiNSlEWK6ZRs4uqnxEv8hhMzbgCvWW2FlW1
kmLx20QkDQQKGQW85awKPGd9k61/KlVwz92/gNWHm+gFsuPVvS2sVkvyvENnfriN
OyeeQCwuyA7WbV8IRmWURJcew06xn3ha/HfT152VPIJDTpU5SE8f6v/xqAWsTyxQ
xV1ZjgwbQHVLf8vj8+rKPM41+fZ0VOuXwXlTise1r8EEnmasJqF2hIJx53avikaj
eytvZ/JXHjAphGTG3i3YepuLWFDvf/UIuxc+IogPwmNKr3a38u/p05vjcOEp+30J
H3yWoYhTc19ujv+2EbJlWCK7JIaZTbkdMDHZN+7a4f4GvhTFjHiEcnkGFYw+kGaN
9wAWxGEWRS1MDkozYCNPZu5m50tXH7HaLcPSCPE9X9N1Ui1ZNxn1hJUq8TLm0e6T
dInVAFSreoIEftZyQ8gnpXe+4W0tYBo/i/4ZT8gr6MFRJPPFt9YTAauq8ILcKV7n
F10H2lWj5WszrKNW+gsJCGl0U7K8StfrK7lkj19advIKoykow8GvA9Gyoil3S/HQ
dQIkufUkAeMG5XCyqGIs
=g353
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C82CF5.9060807>