You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/10/23 18:03:12 UTC

[GitHub] rhtyd closed pull request #2916: systemvm: Ensure cloud service reboots after failure

rhtyd closed pull request #2916: systemvm: Ensure cloud service reboots after failure
URL: https://github.com/apache/cloudstack/pull/2916
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services