disable randomly failing testInvoiceRecreation
[tine20] / scripts / packaging / debian / tine20-worker.upstart
1 # tine20-worker - process jobs stored in Tine 2.0 queue
2 #
3
4 description     "Tine 2.0 worker"
5
6 start on filesystem
7 stop on runlevel [06]
8
9 setuid www-data
10
11 pre-start script
12  # stop job from continuing if no config file found for Tine 2.0 queue worker
13  if [ ! -f /etc/tine20/actionQueue.ini ] ; then
14     stop; exit 0
15  fi
16
17 end script
18
19 respawn
20
21 exec /usr/bin/php -d include_path="/etc/tine20" -f /usr/share/tine20/worker.php