[175574] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Linux: concerns over systemd adoption and Debian's decision to

daemon@ATHENA.MIT.EDU (Barry Shein)
Fri Oct 24 00:42:00 2014

X-Original-To: nanog@nanog.org
From: Barry Shein <bzs@world.std.com>
Date: Fri, 24 Oct 2014 00:41:39 -0400
To: Stephen Satchell <list@satchell.net>
In-Reply-To: <54495D07.3040405@satchell.net>
Cc: "nanog@nanog.org" <nanog@nanog.org>
Errors-To: nanog-bounces@nanog.org


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.

Set the location of the pid file, set the path of the executable, set
the command line flags/options, maybe change some flags/options based
on some options in another file like /etc/sysconfig/daemon_name (also
shell commands which are just executed inline), then the
start/stop/reload/restart/status case statements. And the dependencies
of course.

It really could just be config files like xinetd or logrotate except
for a few hard cases where you could have a "run this script"
attribute.

-- 
        -Barry Shein

The World              | bzs@TheWorld.com           | http://www.TheWorld.com
Purveyors to the Trade | Voice: 800-THE-WRLD        | Dial-Up: US, PR, Canada
Software Tool & Die    | Public Access Internet     | SINCE 1989     *oo*

home help back first fref pref prev next nref lref last post