X7ROOT File Manager
Current Path:
/etc/systemd/system/cloud-init.target.wants
etc
/
systemd
/
system
/
cloud-init.target.wants
/
📁
..
📄
cloud-config.service
(491 B)
📄
cloud-final.service
(829 B)
📄
cloud-init-local.service
(878 B)
📄
cloud-init.service
(648 B)
Editing: cloud-final.service
[Unit] Description=Execute cloud user/final scripts After=network-online.target cloud-config.service rc-local.service Wants=network-online.target cloud-config.service ConditionPathExists=!/etc/cloud/cloud-init.disabled ConditionKernelCommandLine=!cloud-init=disabled [Service] Type=oneshot ExecStart=/usr/bin/cloud-init modules --mode=final RemainAfterExit=yes TimeoutSec=0 KillMode=process # Restart NetworkManager if it is present and running. # TODO: try-reload-or-restart is available only on systemd >= 229 ExecStartPost=/bin/sh -c 'u=NetworkManager.service; \ out=$(systemctl show --property=SubState $u) || exit; \ [ "$out" = "SubState=running" ] || exit 0; \ systemctl reload-or-try-restart $u' # Output needs to appear in instance console output StandardOutput=journal+console [Install] WantedBy=cloud-init.target
Upload File
Create Folder