How to run ofbiz as ubuntu Service.
Apache Ofbiz developer need write script to start and stop ofbiz server as Ubuntu service. In my projects production and test server management i need this, and after spending few times i got this. Here below i share my experience. The script code given below. #!/bin/bash -e ### BEGIN INIT INFO # Provides: ofbiz # Required-Start: $syslog $time $remote_fs # Required-Stop: $syslog $time $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start Apache Ofbiz # Description: Debian init script for the Apache Ofbiz, # the open source enterprise automation software ### END INIT INFO set -e ############################################################...
Comments
Post a Comment