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

Viewing all changes in revision 587.

  • Committer: Scott James Remnant
  • Date: 2007-03-01 12:27:09 UTC
  • Revision ID: scott@netsplit.com-20070301122709-p0p8miqfwtao2nmi
* init/cfgfile.c (cfg_stanza_respawn): Remove the shortcut that
lets you specify "respawn COMMAND".  It was confusing as it hid
the common "[when] exec"/"[when] script" syntax, made it non-obvious
that "exec" and "respawn" were the same flag, etc.
* init/tests/test_cfgfile.c (test_stanza_respawn): Update tests.
(test_stanza_service): Fix test case to not use shortcut.
* logd/event.d/logd.in: Update to not use respawn shortcut.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: