launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #12707
[Merge] lp:~rvb/maas/recreate-region-worker into lp:~maas-maintainers/maas/packaging
Raphaël Badin has proposed merging lp:~rvb/maas/recreate-region-worker into lp:~maas-maintainers/maas/packaging with lp:~rvb/maas/add-maas-cluster-packaging as a prerequisite.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Andres Rodriguez (andreserl)
For more details, see:
https://code.launchpad.net/~rvb/maas/recreate-region-worker/+merge/127178
Add the region controller worker.
(re-submit with the right target branch.)
--
https://code.launchpad.net/~rvb/maas/recreate-region-worker/+merge/127178
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rvb/maas/recreate-region-worker into lp:~maas-maintainers/maas/packaging.
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-30 20:58:23 +0000
+++ debian/changelog 2012-09-30 20:58:23 +0000
@@ -15,6 +15,8 @@
* debian/maas-cluster-controller.postrm: Add and delete maas user.
[ Raphael Badin ]
+ * debian/maas-region-controller.maas-region-celery.upstart: Add region
+ worker upstart script.
* Rename cluster worker upstart script into
maas-cluster-controller.maas-clluster-celery.upstart.
* maas-cluster-controller.maas-celery.upstart: use "celeryconfig_cluster"
=== added file 'debian/maas-region-controller.maas-region-celery.upstart'
--- debian/maas-region-controller.maas-region-celery.upstart 1970-01-01 00:00:00 +0000
+++ debian/maas-region-controller.maas-region-celery.upstart 2012-09-30 20:58:23 +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
=== modified file 'debian/rules'
--- debian/rules 2012-09-30 20:58:23 +0000
+++ debian/rules 2012-09-30 20:58:23 +0000
@@ -11,6 +11,7 @@
override_dh_installinit:
dh_installinit --name maas-pserv
dh_installinit --name maas-txlongpoll
+ dh_installinit --name maas-region-celery
dh_installinit --name maas-cluster-celery
dh_installinit --name maas-dhcp-server