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_r227096691
 
 

 ##########
 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:
   @wido looks like in my test case I hit - 
https://unix.stackexchange.com/questions/289629/systemd-restart-always-is-not-honored/324297#324297
 or bugs like https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1711255

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to