Subversion Repositories DevTools

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# buildtool - Upstart job file for the VIX buildtool

description "JATS Build Daemon"
author "dpurdie"

# When to start the service
start on autofs

# When to stop the service
stop on runlevel [016]

# Automatically restart process if crashed
respawn

# Essentially lets upstart know the process will detach itself to the background
#expect fork

# Specify the user
setuid buildadm
setgid ccperdev
env USER=buildadm
env HOME=/home/buildadm

# Start the process
script
    exec 2>/tmp/buildtool 1>&2
    . /etc/profile
    unset GBE_PLATFORM
    jats vars -v
    jats -NoExportVars eprog /home/buildadm/buildtool/abtlaunch
end script