[PATCH] Command-line option to provide configurable job configuration file directory

James Hunt james.hunt at ubuntu.com
Fri Jun 3 09:13:01 UTC 2011


Add option to allow alternate location for job config files. This is a
pre-requisite for the visualisation feature.

* init/main.c:
  - Added "--confdir <dir>" command-line option.
  - handle_confdir(): New function to select alternate confdir using env
    var "UPSTART_CONFDIR" or command-line option (for testing).
* init/paths.h: Added define for CONFDIR_ENV.
* init/man/init.8: Update for "--confdir".
* Changelog: Updated.

Code:

https://code.launchpad.net/~jamesodhunt/upstart/upstream-configurable-confdir

Merge Proposal:

https://code.launchpad.net/~jamesodhunt/upstart/upstream-configurable-confdir/+merge/63344

Regards,

James.



More information about the upstart-devel mailing list