launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #12680
[Merge] lp:~rvb/maas/recreate-region-worker into lp:maas
Raphaël Badin has proposed merging lp:~rvb/maas/recreate-region-worker into lp:maas with lp:~rvb/maas/add-maas-cluster-packaging as a prerequisite.
Commit message:
Add the region controller worker.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~rvb/maas/recreate-region-worker/+merge/127079
Add the region controller worker.
--
https://code.launchpad.net/~rvb/maas/recreate-region-worker/+merge/127079
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rvb/maas/recreate-region-worker into lp:maas.
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-28 22:57:22 +0000
+++ debian/changelog 2012-09-28 22:57:22 +0000
@@ -14,6 +14,8 @@
* debian/maas-common.install: Install celeryconfig in appropriate location.
[ Raphael Badin ]
+ * debian/maas-region-controller.maas-celery.upstart: Add region worker
+ upstart script.
* maas-cluster-controller.maas-celery.upstart: use "celeryconfig_cluster"
as the Celery config module.
* debian/maas-common.install: Install celeryconfig_common.py.
=== added file 'debian/maas-region-controller.maas-celery.upstart'
--- debian/maas-region-controller.maas-celery.upstart 1970-01-01 00:00:00 +0000
+++ debian/maas-region-controller.maas-celery.upstart 2012-09-28 22:57:22 +0000
@@ -0,0 +1,20 @@
+# maas-celery - celery daemon for the region controller
+#
+# MAAS Region Controller Celery Daemon
+
+description "MAAS"
+author "Raphael Badin <raphael.badin@xxxxxxxxxxxxx>"
+
+start on filesystem and net-device-up
+stop on runlevel [016]
+
+respawn
+
+setuid maas
+setgid maas
+
+env PYTHONPATH="/usr/share/maas/"
+# To add options to your daemon, edit the line below:
+# NOTE: Config is picked up from PYTHONPATH.
+# In this case is picked up from /usr/share/maas/celeryconfig.py.
+exec /usr/bin/celeryd --logfile=/var/log/maas/celery-region.log --loglevel=INFO --beat --schedule=/var/lib/maas/celerybeat-region-schedule -Q celery,master
Follow ups