Skip to content

Instantly share code, notes, and snippets.

@kaimi
Created April 9, 2014 22:39
Show Gist options
  • Save kaimi/10326215 to your computer and use it in GitHub Desktop.
Save kaimi/10326215 to your computer and use it in GitHub Desktop.
StatusNet queue daemon upstart service
description "StatusNet queue daemon service"
author "kaimi@kaimi.cc"
start on filesystem and net-device-up IFACE!=lo
stop on runlevel [06]
respawn
respawn limit 10 5
setuid www-data
setgid www-data
expect fork
exec <%= node['statusnet']['basedir'] %>/statusnet/scripts/queuedaemon.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment