~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 1182.21.1.

  • Committer: James Hunt
  • Date: 2011-05-31 15:33:25 UTC
  • mto: (1182.14.26 upstart)
  • mto: This revision was merged to the branch mainline in revision 1317.
  • Revision ID: james.hunt@ubuntu.com-20110531153325-l3oo9bonbmcdy9f2
Add option to allow alternate location for job config files.

* 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: