This file is indexed.

/lib/systemd/system/tgt.service is in tgt 1:1.0.51-1.

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
[Unit]
Description = (i)SCSI target daemon
Documentation = man:tgtd(8)
After = network.target

[Service]
Type = notify
ExecStart = /usr/sbin/tgtd -f
ExecStartPost = /usr/sbin/tgtadm --op update --mode sys --name State -v offline
ExecStartPost = /usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf
ExecStartPost = /usr/sbin/tgtadm --op update --mode sys --name State -v ready

ExecStop = /usr/sbin/tgtadm --op update --mode sys --name State -v offline
ExecStop = /usr/sbin/tgt-admin --offline ALL
ExecStop = /usr/sbin/tgt-admin --update ALL -c /dev/null -f
ExecStop = /usr/sbin/tgtadm --op delete --mode system

ExecReload = /usr/sbin/tgt-admin --update ALL -c /etc/tgt/targets.conf
Restart = on-failure

[Install]
WantedBy = multi-user.target