/
etc
/
systemd
/
system
/
multi-user.target.wants
/
/etc/systemd/system/multi-user.target.wants
mkdir
upload
Name
Size
Mode
Actions
a2gen.service
254
0644
edit
dl
rm
a2web.service
249
0644
edit
dl
rm
apache2.service
419
0644
edit
dl
rm
console-setup.service
312
0644
edit
dl
rm
containerd.service
1242
0644
edit
dl
rm
cron.service
319
0644
edit
dl
rm
dmesg.service
409
0644
edit
dl
rm
do-agent.service
363
0644
edit
dl
rm
docker.service
1268
0644
edit
dl
rm
droplet-agent.service
358
0644
edit
dl
rm
fail2ban.service
735
0644
edit
dl
rm
grub-common.service
583
0644
edit
dl
rm
grub-initrd-fallback.service
408
0644
edit
dl
rm
irqbalance.service
505
0644
edit
dl
rm
lxd-agent-9p.service
-
0
edit
dl
rm
lxd-agent.service
476
0644
edit
dl
rm
ModemManager.service
515
0644
edit
dl
rm
mysql.service
529
0644
edit
dl
rm
netdiag.service
266
0644
edit
dl
rm
networkd-dispatcher.service
258
0644
edit
dl
rm
open-vm-tools.service
489
0644
edit
dl
rm
php8.1-fpm.service
542
0644
edit
dl
rm
php8.3-fpm.service
766
0644
edit
dl
rm
php8.5-fpm.service
766
0644
edit
dl
rm
pm2-root.service
697
0644
edit
dl
rm
pollinate.service
404
0644
edit
dl
rm
postfix.service
282
0644
edit
dl
rm
remote-fs.target
530
0644
edit
dl
rm
rsync.service
1030
0644
edit
dl
rm
rsyslog.service
469
0644
edit
dl
rm
secureboot-db.service
735
0644
edit
dl
rm
snap-core18-2979.mount
326
0644
edit
dl
rm
snap-core18-2999.mount
326
0644
edit
dl
rm
snap-core20-2769.mount
326
0644
edit
dl
rm
snap-core20-2866.mount
326
0644
edit
dl
rm
snap-core22-2411.mount
326
0644
edit
dl
rm
snap-core22-2437.mount
326
0644
edit
dl
rm
snap-core24-1587.mount
326
0644
edit
dl
rm
snap-core24-1643.mount
326
0644
edit
dl
rm
snap-gh-502.mount
311
0644
edit
dl
rm
snap-gh-640.mount
311
0644
edit
dl
rm
snap-lxd-40364.mount
320
0644
edit
dl
rm
snap-lxd-40526.mount
320
0644
edit
dl
rm
snap-node-11691.mount
323
0644
edit
dl
rm
snap-node-11782.mount
323
0644
edit
dl
rm
snap-snapd-27591.mount
326
0644
edit
dl
rm
snap-snapd-27710.mount
326
0644
edit
dl
rm
snap.lxd.activate.service
468
0644
edit
dl
rm
snapd.aa-prompt-listener.service
-
0
edit
dl
rm
snapd.apparmor.service
1333
0644
edit
dl
rm
snapd.autoimport.service
487
0644
edit
dl
rm
snapd.core-fixup.service
369
0644
edit
dl
rm
snapd.recovery-chooser-trigger.service
550
0644
edit
dl
rm
snapd.seeded.service
308
0644
edit
dl
rm
snapd.service
769
0644
edit
dl
rm
ssh.service
538
0644
edit
dl
rm
systemd-networkd.service
2328
0644
edit
dl
rm
systemd-resolved.service
1785
0644
edit
dl
rm
thermald.service
309
0644
edit
dl
rm
ua-reboot-cmds.service
903
0644
edit
dl
rm
ubuntu-advantage.service
1612
0644
edit
dl
rm
ufw.service
333
0644
edit
dl
rm
unattended-upgrades.service
377
0644
edit
dl
rm
usermin.service
444
0644
edit
dl
rm
webmin.service
-
0
edit
dl
rm
Edit:
/usr/lib/systemd/system/ua-reboot-cmds.service
(903B)
# 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/marker-only-series-check 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
Save
cmd:
run