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/12 11:22:29 UTC

[GitHub] resmo commented on a change in pull request #2892: vr: memory and swap optimizations

resmo commented on a change in pull request #2892: vr: memory and swap optimizations
URL: https://github.com/apache/cloudstack/pull/2892#discussion_r224752361
 
 

 ##########
 File path: systemvm/debian/etc/systemd/system/baremetal-vr.service
 ##########
 @@ -0,0 +1,11 @@
+[Unit]
+Description=CloudStack Baremetal VR service
+After=network.target local-fs.target
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+Type=simple
+WorkingDirectory=/opt/cloud/bin
+ExecStart=/usr/bin/python /opt/cloud/bin/baremetal-vr.py
 
 Review comment:
   let systemd handle the restart on failure.
   
   ~~~diff
   + 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