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

Viewing all changes in revision 493.

  • Committer: Scott James Remnant
  • Date: 2007-02-08 02:40:43 UTC
  • Revision ID: scott@netsplit.com-20070208024043-fxg7ha81sq1ji1up
* init/cfgfile.c (cfg_stanza_service): Parser for service stanza.
* init/tests/test_cfgfile.c (test_stanza_service): Test the service
stanza.
(test_stanza_respawn): Check that respawn implies service.
* TODO: Update.
* init/job.h (Job): Add a new service member.
* init/job.c (job_new): Service starts off as false.
(job_change_state): Check service instead of respawn.
* init/tests/test_job.c (test_change_state): Check with service
instead of respawn, since that's what we really mean.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: