systemd: update config and final to run even if init jobs fail

This commit is contained in:
Scott Moser 2015-03-17 15:50:00 -04:00
parent b9b862c2ce
commit 37562336d9
3 changed files with 6 additions and 7 deletions

View File

@ -1,8 +1,7 @@
[Unit] [Unit]
Description=Apply the settings specified in cloud-config Description=Apply the settings specified in cloud-config
After=network.target syslog.target cloud-config.target After=network.target cloud-config.target syslog.target
Requires=cloud-config.target Wants=network.target cloud-config.target
Wants=network.target
[Service] [Service]
Type=oneshot Type=oneshot

View File

@ -7,4 +7,5 @@
[Unit] [Unit]
Description=Cloud-config availability Description=Cloud-config availability
Requires=cloud-init-local.service cloud-init.service Wants=cloud-init-local.service cloud-init.service
After=cloud-init-local.service cloud-init.service

View File

@ -1,8 +1,7 @@
[Unit] [Unit]
Description=Execute cloud user/final scripts Description=Execute cloud user/final scripts
After=network.target syslog.target cloud-config.service rc-local.service After=network.target cloud-config.service syslog.target rc-local.service
Requires=cloud-config.target Wants=network.target cloud-config.service
Wants=network.target
[Service] [Service]
Type=oneshot Type=oneshot