/lib/systemd/system/maas-regiond.service is in maas-region-api 2.0.0~beta3+bzr4941-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | [Unit]
Description=MAAS Region Controller
Documentation=https://maas.io/
[Service]
Type=oneshot
RemainAfterExit=yes
# systemd.service(5) clearly states that ExecStart can be specified zero
# times when Type=oneshot, but it does appears to be needed at present.
ExecStart=/bin/true
#
# The maas-region-api package configures four workers. This
# should work for most people. However:
#
# * `systemctl start maas-regiond-worker@x` (where 'x' can be anything,
# though integers >= 5 seem logical) will start an additional worker.
#
# * `systemctl enable maas-regiond-worker@x` will configure that worker
# so that it's persistent across reboots.
#
[Install]
WantedBy=multi-user.target
|