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

Viewing all changes in revision 861.

  • Committer: Scott James Remnant
  • Date: 2008-03-02 22:30:17 UTC
  • Revision ID: scott@netsplit.com-20080302223017-4u7oo1oeiat1v3qe
* init/job.c (job_run_process): Append the environment from the
stop events if given the pre-stop process to run; do this before
the special events so they can never be overriden.
* init/tests/test_job.c (test_run_process): Check that the stop event
environment is included for pre-stop and not for other jobs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: