ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: systemd.service startup service script file?
Date Mon, 13 Apr 2015 15:51:36 GMT

Have you defined JAVA_HOME to match where Java is found?

Ron
On 13/04/2015 11:04 AM, Chris Clark wrote:
> maybe you can help me... the new architecture requires an absolute path for
> the executable which is fine, but the java command
>
> /ofbiz/ofbiz.13.07/java -Xms768M -Xmx1024M -Duser.language=en >
> /ofbiz/log/messages 2>>/ofbiz/ofbiz.13.07/runtime/logs/console.log
>
> wont work because the absolute path to java
>
> is /usr/bin/java or for me it is
> truly /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.i386/bin/java
>
> so what do i have to add to
>
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.2.fc20.i386/bin/java
> -Xms768M -Xmx1024M -Duser.language=en > /ofbiz/log/messages
> 2>>/ofbiz/ofbiz.13.07/runtime/logs/console.log
>
> to have it run in the ofbiz directory of /ofbiz/ofbiz.13.07
>
> java is like a third world language to me right now... im sure in a couple
> of months it will be like the back of my hand
>
> Chris
>
> On Mon, Apr 13, 2015 at 9:19 AM, Chris Clark <rip057@gmail.com> wrote:
>
>> right but rc.d files are extinct everything uses what is called systemd to
>> boot up services as daemons now
>>
>> http://www.tecmint.com/systemd-replaces-init-in-linux/
>>
>> this is another "architecture" for the daemonization process, it does not
>> rely on bash scripts with all kinds of various thing defined but instead
>> relies on things that are called .service files that reside in the
>> /lib/systemd/system dir and control the daemonization process... I am a red
>> hat man and this is the method they use, soon to be, if not already now,
>> exclusively... Im sure out of the many many many people on this list
>> someone has made the switch, and I will go look in the install dir for a
>> .service file...  If i happen to get it, either from someone or manufacture
>> it, can i upstream it?
>>
>> Chris
>>
>> On Mon, Apr 13, 2015 at 7:31 AM, Jacques Le Roux <
>> jacques.le.roux@les7arts.com> wrote:
>>
>>> I guess you are referring to this page https://cwiki.apache.org/
>>> confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service
>>> Look for rc.* files in your working copy
>>>
>>> HTH
>>>
>>> Jacques
>>>
>>>
>>> Le 13/04/2015 12:29, Chris Clark a écrit :
>>>
>>>> does anyone have one of these... the wiki has a very much out dated
>>>> init.d
>>>> script and im trying to make my own but im having issues
>>>>
>>>>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


Mime
View raw message