Feature request: init script for AMC community edition



I found out that AMC community edition does not have a propert init script (/etc/init.d/amc) for RedHat-derived OSs. In particular, the status command is supposed to return 3 if the service isn’t running, but it returns 0. This is a problem because tools like Puppet are unable to start the service reliably.



Currently we are not following standard code as per this document: http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html, we are using 0 as service not running code and 1 as service running code. We can change this logic as per standard document. We will add this change in next AMC build.