barbican/etc/init/barbican-worker.conf
jfwood 2e65939bfd Add files to create worker RPM and get api/db/queue/worker nodes deployed.
As part of building out the Barbican network of nodes, this commit adds files
and configuration to create an RPM package for the Barbican worker nodes. Files
needed to make this work as part of a network of Barbican API, queue, worker
and database nodes are also added.

Change-Id: I87a36b7c09bbd3fec7661ce6adbcbb5b0c6df689
2013-09-16 18:03:35 -05:00

11 lines
291 B
Plaintext

# Barbican Worker node upstart script
# Used in rpm build. Keep in sync with debian/barbican-worker.upstart
description "Barbican Key Management Workers"
start on runlevel [2345]
stop on runlevel [06]
script
barbican-worker.py >> /var/log/barbican/barbican_worker.log 2>&1
end script