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/22 19:35:03 UTC
[GitHub] rhtyd commented on a change in pull request #2916: systemvm: Ensure
cloud service reboots after failure
rhtyd commented on a change in pull request #2916: systemvm: Ensure cloud service reboots after failure
URL: https://github.com/apache/cloudstack/pull/2916#discussion_r227043131
##########
File path: 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
Review comment:
Ideally this should work, but always option was not honoured. I changed that to on-failure which seems to work.
----------------------------------------------------------------
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