![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /usr/lib/systemd/system/ |
[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