Re: Daemon

2023-08-16 Thread Jason RJ



On 15/08/2023 17:34, Craig Parker wrote:
I'm trying to get back into docs, and currently finally have a working 
OFBiz/MySQL install. But the way I documented getting it running as a 
daemon (and starting via systemctl at boot) involved a 
/$ofbizRoot/tools/rc.ofbiz.for.debian file, and there's not even a 
tools directory.


Did I miss something, or there's just a different way now?



Hi Craig,

You will need to create a systemd unit file for ofbiz, there's some info 
here 
https://cwiki.apache.org/confluence/display/OFBIZ/Install+OFBiz+with+MariaDB%2C+Apache2+Proxy+and+SSL


If you are still using init.d then you will need a script able to 
execute server commands to start and stop ofbiz listed here 
https://github.com/apache/ofbiz-framework/tree/trunk#server-command-tasks



   Start OFBiz||


   |gradlew "ofbiz --start"|

Shutdown OFBiz

|gradlew "ofbiz --shutdown"|


   Get OFBiz status

|gradlew "ofbiz --status"|

|
|

Hope that helps

Jason



Re: Daemon

2023-08-15 Thread Michael Brohl

Hi Craig,

you'll find those scripts in the ofbiz-tools repository: 
https://github.com/apache/ofbiz-tools


Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 15.08.23 um 18:34 schrieb Craig Parker:
I'm trying to get back into docs, and currently finally have a working 
OFBiz/MySQL install. But the way I documented getting it running as a 
daemon (and starting via systemctl at boot) involved a 
/$ofbizRoot/tools/rc.ofbiz.for.debian file, and there's not even a 
tools directory.


Did I miss something, or there's just a different way now?



Daemon

2023-08-15 Thread Craig Parker
I'm trying to get back into docs, and currently finally have a working 
OFBiz/MySQL install. But the way I documented getting it running as a 
daemon (and starting via systemctl at boot) involved a 
/$ofbizRoot/tools/rc.ofbiz.for.debian file, and there's not even a tools 
directory.


Did I miss something, or there's just a different way now?