HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/systemd/system/snapd.system-shutdown.service
[Unit]
Description=Ubuntu core (all-snaps) system shutdown helper setup service
Before=umount.target
DefaultDependencies=false
# don't run on classic
ConditionKernelCommandLine=|snap_core
ConditionKernelCommandLine=|snapd_recovery_mode
ConditionPathExists=!/usr/bin/finalrd
# don't run if system-shutdown isn't there
ConditionPathExists=/usr/lib/snapd/system-shutdown
# X-Snapd-Snap: do-not-start

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

[Install]
WantedBy=final.target