This 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)

exec

script

script 
  ''some shell scripting''
end script
script 
  rm -f /usr/share/hal/fdi/policy/gparted-disable-automount.fdi
  /usr/sbin/hald
end script

pre-start

pre-start script 
  ''some shell script''
end script
pre-start script 
  start dbus
  rm -f /usr/share/hal/fdi/policy/gparted-disable-automount.fdi
end script

post-start

Same as pre-start, but after ;-)

pre-stop

Let's guess

post-stop

cf pre-stop

start

stop

description

author

version

emits

daemon

respawn

 

service

instance

pid

 

 

 

kill

normal

console

env

umask

nice

limit

* Syntax: limit as|core|cpu|data|fsize|memlock|msgqueue|nice|nofile|nproc|rss|rtprio|sigpending|stack unlimited|''max_resource'' * Example: limit nproc 10 * Description: set service limits

chroot

chdir

-- CategoryDoc

Stanzas (last edited 2007-10-30 00:28:05 by EliCollins)