cloud-final.service 482 B

123456789101112131415161718192021
  1. [Unit]
  2. Description=Execute cloud user/final scripts
  3. After=network-online.target cloud-config.service rc-local.service
  4. After=multi-user.target
  5. Before=apt-daily.service
  6. Wants=network-online.target cloud-config.service
  7. [Service]
  8. Type=oneshot
  9. ExecStart=/usr/bin/cloud-init modules --mode=final
  10. RemainAfterExit=yes
  11. TimeoutSec=0
  12. KillMode=process
  13. TasksMax=infinity
  14. # Output needs to appear in instance console output
  15. StandardOutput=journal+console
  16. [Install]
  17. WantedBy=cloud-init.target