This file is indexed.

/lib/systemd/system/maas-regiond-worker@.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
25
26
27
[Unit]
Description=MAAS Region Controller (Worker %i)
Documentation=https://maas.io/
Requires=network-online.target
After=network-online.target
PartOf=maas-regiond.service
# This will go away one we support new config files.
ConditionPathExists=/etc/maas/regiond.conf

[Service]
User=maas
Group=maas
Restart=always
RestartSec=10s
Environment="MAAS_REGIOND_WORKER_ID=%i"
Environment="DJANGO_SETTINGS_MODULE=maas.settings"
Environment="PYTHONPATH=/usr/share/maas"
Environment="LOGFILE=/var/log/maas/regiond.log"
# Logs go to the journal; read them with:
#   journalctl -u maas-regiond-worker@*
# Logs also go to $LOGFILE for backward compatibility. The journal
# should now be preferred as $LOGFILE will be removed in MAAS 1.9.
ExecStart=/bin/sh -c \
    'exec twistd3 --nodaemon --pidfile= maas-regiond 2>&1 | tee -a $LOGFILE'

[Install]
WantedBy=maas-regiond.service