This file is indexed.

/lib/systemd/system/maas-rackd.service is in maas-rack-controller 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
26
27
28
[Unit]
Description=MAAS Rack Controller
Documentation=https://maas.io/
Requires=network-online.target
After=network-online.target

[Service]
User=maas
Group=maas
Restart=always
RestartSec=10s
KillMode=mixed
Environment="LOGFILE=/var/log/maas/rackd.log"
# Prevent maas-dhcpd and maas-dhcpd6 from starting until maas-rackd
# has regenerated the configurations and told the services to start.
ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.sock
ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.conf
ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd6.conf
# Logs go to the journal; read them with
#   journalctl -u maas-rackd
# Logs also go to $LOGFILE for backward compatibility. The journal
# should now be preferred as the $LOGFILE will be removed.
ExecStart=/bin/sh -c \
    'exec /usr/bin/authbind --deep /usr/sbin/rackd 2>&1 | \
     tee -a $LOGFILE'

[Install]
WantedBy=multi-user.target