1
# maas-cluster-controller - provisioning service
3
# MAAS Cluster Controller Service
5
description "MAAS Cluster Controller"
6
author "Julian Edwards <julian.edwards@canonical.com>"
8
start on filesystem and net-device-up
11
env CONFIG_FILE=/etc/maas/maas_cluster.conf
13
env CELERY_CONFIG_MODULE="celeryconfig_cluster"
16
if [ ! -f $CONFIG_FILE ]; then
17
echo "$CONFIG_FILE does not exist. Aborting."
26
# Allow the cluster-controller process to read CLUSTER_UUID as set
27
# in that config file.
29
exec /usr/bin/authbind --deep /usr/sbin/maas-provision start-cluster-controller $MAAS_URL -u maas -g maas