Sha256: 7ca63c9471a86d19b205fcb91f8638ad9a1210c6e2c35025ba6df9cafc213bf3

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

description "LarvaSpawn Upstart Script"
author "Charles Care <charles@meducation.net>"

# Triggers
start on startup
start on runlevel [2345]
stop on runlevel [016]

# Restart if the service terminates abnormally
respawn

# Give up if the service requires restarting more than 10 times in a 30 second period.
respawn limit 10 30

# Run as a user
setuid larva_spawn

# cwd
chdir /opt/larva_spawn

#pre-start exec su -c /srv/apps/larva_spawn/bin/larva_spawn-setup ec2-user

# Run target command
exec /opt/larva_spawn/bin/larva_spawn

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
larva-0.6.4 template/upstart/larva_spawn.conf
larva-0.6.3 template/upstart/larva_spawn.conf
larva-0.6.2 template/upstart/larva_spawn.conf
larva-0.6.1 template/upstart/larva_spawn.conf
larva-0.6.0 template/upstart/larva_spawn.conf