[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server Adjustments

From: Glus Xof
Subject: Re: Server Adjustments
Date: Mon, 14 Dec 2009 17:01:44 +0100


>> I'm developping a server application specially for GNU/Linux
>> platforms... but as I'm a little newbie using the autools, I'd need to
>> know what I can do to reach that the autotools realizes the system
>> settings & adjustments (so, in /etc/services, /etc/rc.X/...) before
>> the installation process concludes, (i.e., make install). Maybe,
>> calling to a simply Shell Script (Bash) (at the installation process,
>> of course...) would solve the problem, but... how to configure the
>> call ?.
> As the developer, you shouldn't have to worry about this.  Rather, the
> installer should worry about it when they call ./configure, by passing
> appropriate options to configure such as --sysconfdir=/etc.  Remember, not
> everyone who installs your package will have root access, so you shouldn't
> ever hard-code locations like /etc/services into your configure script
> that would typically require root privileges.  Instead, by following the
> GNU Coding Standards of providing locations that default relative to
> - --prefix, but which can be overridden on a per-directory basis, you give
> the installer full freedom to fit the needs of their machine.
> - --
> Don't work too hard, make some time for fun as well!

Thanks  a lot,

I understand.,, but what happens about /etc/init.d shell scripts (I
mean the ones which start, stop & restart servers) ?  Would be
possible to get more info about the way of manage them ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]