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

Viewing all changes in revision 477.

  • Committer: Scott James Remnant
  • Date: 2007-02-07 19:54:27 UTC
  • Revision ID: scott@netsplit.com-20070207195427-wjodys9ihgqggtpz
* init/job.c (job_start, job_stop): Drop these functions; call
job_change_goal instead (which is now public).
(job_change_state, job_child_reaper): Call job_change_goal instead.
* init/job.h: Update.
* init/tests/test_job.c (test_start, test_stop): Merge into new
(test_change_goal): function.
* init/main.c (main): Call job_change_goal instead of job_start.
* init/control.c (control_job_start, control_job_stop): Call
job_change_goal instead.
(test_run_script, test_start, test_stop, test_start_event): 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: