HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-84-generic #84-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 22:36:38 UTC 2025 x86_64
User: healthinsuranceukorguk (1111)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //etc/systemd/system/multi-user.target.wants/ua-reboot-cmds.service
# On machines that are currently attached to Ubuntu Pro services, sometimes an action
# is required immediately after the next reboot.
# In those situations, a marker file is created that activates this service on the next boot.
# Circumstances that could cause this include:
#   - Upgrading from one LTS to the next LTS: to account for service availability changes between releases
#   - Pro FIPS images with outstanding apt hold on FIPS packages: to clear the holds

[Unit]
Description=Ubuntu Pro reboot cmds
ConditionPathExists=/var/lib/ubuntu-advantage/marker-reboot-cmds-required
ConditionPathExists=/var/lib/ubuntu-advantage/private/machine-token.json
After=ua-auto-attach.service

[Service]
Type=oneshot
ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/reboot_cmds.py
TimeoutSec=0

[Install]
WantedBy=multi-user.target