nanog mailing list archives
Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT]
From: Jim Mercer <jim () reptiles org>
Date: Fri, 24 Oct 2014 11:10:50 -0400
On Fri, Oct 24, 2014 at 12:41:39AM -0400, Barry Shein wrote:
All those init.d scripts do about 95% the same thing, all hacked together in shell. Most of them are probably just slightly edited versions of some few paleo-scripts.
in FreeBSD, the bulk of the rc.d scripts are basically the same format, inhaling a standardized library of functions, populating some variables, maybe adding a few custom functions, then jumping to "main". all largely driven off variables which have preset defaults in /etc/default/rc.conf, and over-ridden by /etc/rc.conf. something i saw in various linux systems, which i now see moving into FreeBSD, is the concept of the .d config directory, where the files in /etc/myapp.d are effectively concatenated to /etc/myapp.conf. this is quite nice from a sysadmin perspective, as you can set defaults in /etc/myapp.conf, and then over-ride them with server/environmental specific (and appropriately named) files in /etc/myapp.d/.... --jim -- Jim Mercer Reptilian Research jim () reptiles org +1 416 410-5633 "He who dies with the most toys is nonetheless dead"
Current thread:
- RE: Linux: concerns over systemd adoption and Debian's decision to switch, (continued)
- RE: Linux: concerns over systemd adoption and Debian's decision to switch Barry Shein (Oct 22)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Lamar Owen (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Zachary (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Valdis . Kletnieks (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Lamar Owen (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Jay Ashworth (Oct 24)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Stephen Satchell (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Barry Shein (Oct 23)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Tei (Oct 24)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Lamar Owen (Oct 24)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Jim Mercer (Oct 24)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Jeffrey Ollie (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Stephen Satchell (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Matthew Petach (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Peter Baldridge (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Matt Palmer (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Matt Palmer (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Lamar Owen (Oct 27)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Jimmy Hess (Oct 25)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Valdis . Kletnieks (Oct 26)
- Re: Linux: concerns over systemd adoption and Debian's decision to switch [OT] Tim Franklin (Oct 24)