This file is indexed.

/lib/systemd/system/maas-regiond.service is in maas-region-api 2.4.0~beta2-6865-gec43e47e6-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
25
[Install]
WantedBy=multi-user.target

[Unit]
Description=MAAS Region Controller
Documentation=https://maas.io/
Requires=network-online.target
After=network-online.target
ConditionPathExists=/etc/maas/regiond.conf

[Service]
User=maas
Group=maas
Restart=always
RestartSec=10s
KillMode=mixed
Environment="DJANGO_SETTINGS_MODULE=maasserver.djangosettings.settings"
Environment="LOGFILE=/var/log/maas/regiond.log"
# Logs go to the journal; read them with:
#   journalctl -u maas-regiond
# Logs also go to $LOGFILE for backward compatibility. The journal
# should now be preferred as $LOGFILE will be removed.
ExecStart=/bin/sh -c \
    'exec /usr/sbin/regiond 2>&1 | \
     tee -a $LOGFILE'