~andreserl/maas/packaging_1.9.1

« back to all changes in this revision

Viewing changes to debian/maas-cluster-controller.maas-clusterd.service

[r=andreserl][bug=1471946][author=allenap] Ensures that regiond.conf and clusterd.conf are both initialised after package installation.

maas-clusterd will also be restarted if the shared secret is missing. Previously it would never be started.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Documentation=https://maas.ubuntu.com/
4
4
Requires=network-online.target
5
5
After=network-online.target
6
 
ConditionPathExists=/var/lib/maas/secret
7
6
 
8
7
[Service]
9
8
User=maas
10
9
Group=maas
11
10
Restart=always
 
11
RestartSec=10s
12
12
Environment="LOGFILE=/var/log/maas/clusterd.log"
13
13
# Logs go to the journal; read them with
14
14
#   journalctl -u maas-clusterd