Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.219.44.171
[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
|