diff --git a/systemvm/debian/etc/systemd/system/cloud-postinit.service b/systemvm/debian/etc/systemd/system/cloud-postinit.service index a9abff443fa..cb20aaf7c06 100644 --- a/systemvm/debian/etc/systemd/system/cloud-postinit.service +++ b/systemvm/debian/etc/systemd/system/cloud-postinit.service @@ -2,7 +2,6 @@ Description=CloudStack post-patching init script After=cloud-early-config.service network.target local-fs.target Before=ssh.service -Requires=networking.service [Install] WantedBy=multi-user.target diff --git a/systemvm/debian/etc/systemd/system/cloud.service b/systemvm/debian/etc/systemd/system/cloud.service index 9c61be46eba..22439239caa 100644 --- a/systemvm/debian/etc/systemd/system/cloud.service +++ b/systemvm/debian/etc/systemd/system/cloud.service @@ -9,5 +9,4 @@ WantedBy=multi-user.target Type=simple WorkingDirectory=/usr/local/cloud/systemvm ExecStart=/usr/local/cloud/systemvm/_run.sh -Restart=always -RestartSec=5 +Restart=on-failure