HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-27-128 6.8.0-1033-aws #35~22.04.1-Ubuntu SMP Wed Jul 23 17:51:00 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/systemd/system/snapd.recovery-chooser-trigger.service
[Unit]
Description=Wait for the Ubuntu Core chooser trigger
Wants=getty-pre.target
Before=getty-pre.target
# don't run on classic or uc16/uc18
ConditionKernelCommandLine=snapd_recovery_mode
# only run when there are input devices
ConditionPathExistsGlob=/dev/input/event*

[Service]
# blocks the service startup until a trigger is detected or a timeout is hit
Type=oneshot
ExecStart=/usr/lib/snapd/snap-bootstrap recovery-chooser-trigger
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

# started on boot only
# X-Snapd-Snap: do-not-start