Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

From: Dimitris Papastamos <>
Date: Mon, 3 Nov 2014 20:08:06 +0000

On Mon, Nov 03, 2014 at 07:59:14PM +0000, Dimitris Papastamos wrote:
> For run-time configuration I'd opt for command line options or if that is
> not enough, I'd go for a simple configuration file. There are legitimate
> cases where config.h is simply not enough or not applicable. Think of
> a long running daemon where it is not acceptable to restart it. scron[0]
> for example which is a simple cron daemon does not use config.h but rather
> parses a crontab file.

Just to clarify, if you have a long running daemon and you update the config file,
you can use SIGHUP to reload it without interrupting existing users.

Just think of how many times you had to reload sshd while connected
over ssh.

Received on Mon Nov 03 2014 - 21:08:06 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 03 2014 - 21:12:08 CET