This file is indexed.

/lib/systemd/system/snapd.system-shutdown.service is in snapd 2.32.5+18.04.

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
[Unit]
Description=Ubuntu core (all-snaps) system shutdown helper setup service
Before=umount.target
DefaultDependencies=false
# don't run on classic
ConditionKernelCommandLine=snap_core
# don't run if system-shutdown isn't there
ConditionPathExists=/usr/lib/snapd/system-shutdown

[Service]
Type=oneshot
ExecStart=/bin/sh -euc 'mount /run -o remount,exec; mkdir -p /run/initramfs; cp /usr/lib/snapd/system-shutdown /run/initramfs/shutdown'

[Install]
WantedBy=final.target