This file is indexed.

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

[Service]
User=maas
Group=maas
Restart=always
RestartSec=10s
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 in MAAS 1.9.
ExecStart=/bin/sh -c \
    'exec /usr/bin/authbind --deep /usr/bin/twistd3 --nodaemon --pidfile= \
     maas-rackd 2>&1 | tee -a $LOGFILE'

[Install]
WantedBy=multi-user.target