~andreserl/maas/packaging_update

« back to all changes in this revision

Viewing changes to debian/maas-region-controller-min.maas-regiond.upstart

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2015-04-16 19:20:27 UTC
  • mfrom: (377.2.5 packaging.regiond-per-core)
  • Revision ID: maas_lander-20150416192027-gqvhke2flu2z79fi
[r=andreserl][bug=][author=allenap] Start one regiond per CPU core.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
description "MAAS Region Controller"
2
 
author "Gavin Panella <gavin.panella@canonical.com>"
3
 
 
4
 
start on filesystem and net-device-up
5
 
stop on runlevel [016]
6
 
 
7
 
setuid maas
8
 
setgid maas
9
 
 
10
 
respawn
11
 
 
12
 
env DJANGO_SETTINGS_MODULE=maas.settings
13
 
env PYTHONPATH=/usr/share/maas
14
 
env LOGFILE=/var/log/maas/regiond.log
15
 
 
16
 
script
17
 
    exec /usr/bin/twistd --nodaemon --pidfile= maas-regiond > ${LOGFILE} 2>&1
18
 
end script