Differences between revisions 5 and 6
Revision 5 as of 2009-06-01 22:10:34
Size: 1475
Editor: AMADANON
Comment:
Revision 6 as of 2009-06-01 22:25:38
Size: 1672
Editor: AMADANON
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
For stanzas without notes, try looking at the 0.3.9 notes. For stanzas without notes, try looking at the 0.3.9 notes.    I have used the {X} icon to show guesses.
Line 28: Line 32:
  * Possibly similar to ulimit command.   * {X} Possibly similar to ulimit command.
Line 31: Line 35:
  * Believed to set the "nicety" of the daemon when it runs.   * First required parameter is an integer from -20 to 19 (inclusive)
Line 33: Line 37:
  * High numbers = low priority; low numbers=high priority.   * {X} Believed to set the "nicety" of the daemon when it runs.
Line 35: Line 39:
  * See man nice?
  * Default 0?
  * Range -20 to 19
 * normal
  * {X} High numbers = low priority; low numbers=high priority.

  * {X} See man nice?
  * {X} Default 0?
 * normal exit
  * Used to describe what is a successful resultcode.
Line 40: Line 46:
  * Possibly something to do with "out of memory"? Perhaps, when the box runs out of memory, this controls if upstart should kill it and/or when?   * {X} Possibly something to do with "out of memory"? Perhaps, when the box runs out of memory, this controls if upstart should kill it and/or when?
Line 43: Line 49:
  * Don't know if it works without a parameter?   * {X} Don't know if it works without a parameter
Line 50: Line 56:
 * session  * session leader

his is a list of stanzas that can be used in a job file, how can it be used (syntax, arguments) and why using it (what it does, with an example).

This page corresponds to upstart 0.5.1.

See also Stanzas for 0.3.9 <= please make this a link, I can't figure out how ;-)

For stanzas without notes, try looking at the 0.3.9 notes.

I have used the {X} icon to show guesses.

This list is believed to be complete.

  • author
  • chdir
  • chroot
  • console
  • description
  • emits
  • env
  • exec
  • expect
  • export
  • instance
  • kill
  • limit
    • First required parameter may be one of the following: as core cpu data fsize memlock msgqueue nice nofile nproc rss rtprio sigpending stack
    • Second required parameter may be either integer (?don't know if can be signed?), or the keyword "unlimited".
    • {X} Possibly similar to ulimit command.

  • nice
    • First required parameter is an integer from -20 to 19 (inclusive)
    • {X} Believed to set the "nicety" of the daemon when it runs.

    • {X} High numbers = low priority; low numbers=high priority.

    • {X} See man nice?

    • {X} Default 0?

  • normal exit
    • Used to describe what is a successful resultcode.
  • oom
    • {X} Possibly something to do with "out of memory"? Perhaps, when the box runs out of memory, this controls if upstart should kill it and/or when?

    • Takes an integer parameter from -17 to 15, or the keyword "never" which is the same as -17.
    • {X} Don't know if it works without a parameter

  • post-start
  • post-stop
  • pre-start
  • pre-stop
  • respawn
  • script
  • session leader
  • start
  • stop
  • task
  • umask
  • version

Stanzas_for_0.5.1 (last edited 2009-06-01 22:25:38 by AMADANON)