/
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/ubuntu-advantage.service
(1612B)
# This service runs on GCP and Azure to enable auto-attaching to Ubuntu Pro # services when an Ubuntu Pro license is added to a machine. # It also serves as the retry service if an auto-attach fails and will # retry for up to one month after the failed attempt. # If you are uninterested in Ubuntu Pro services, then you can safely # stop and disable this service: # sudo systemctl stop ubuntu-advantage.service # sudo systemctl disable ubuntu-advantage.service [Unit] Description=Ubuntu Pro Background Auto Attach Documentation=man:ubuntu-advantage https://ubuntu.com/advantage # Note: This is NOT After=cloud-config.service to avoid deadlock when # cloud-init installs this package. # The python script will wait until cloud-config.service is done # before doing anything. After=network.target network-online.target systemd-networkd.service ua-auto-attach.service ubuntu-advantage-cloud-id-shim.service # Only run if not already attached ConditionPathExists=!/var/lib/ubuntu-advantage/private/machine-token.json # This service has two modes: # 1. Detect possible in-place upgrade to pro - on GCP and Azure # 2. auto-attach retry mode - only if ua-auto-attach.service fails # The following conditions correspond to those two modes. ConditionPathExists=|/run/cloud-init/cloud-id-gce ConditionPathExists=|/run/cloud-init/cloud-id-azure ConditionPathExists=|/run/cloud-init/cloud-id-lxd ConditionPathExists=|/run/ubuntu-advantage/flags/auto-attach-failed [Service] ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/daemon.py WorkingDirectory=/var/lib/ubuntu-advantage/ [Install] WantedBy=multi-user.target
Save
cmd:
run