description "Grid Engine shadow master"

start on (remote-filesystems and runlevel [2345])
stop on runlevel [016]

respawn

pre-start script
  [ -f /etc/default/sgemaster ] && . /etc/default/sgemaster
end script

kill timeout 60

exec /opt/sge/$($SGE_ROOT/util/arch)/sge_shadowd
