...you are right :)

--------

On Mon, 23 Aug 2021 12:15:54 -0500
Erik Edwards <[email protected]> wrote:

> Yes, this is exactly how and why it works from the command line but not 
> from the .service file.
> 
> The .service file overrides the OS's environment settings for java.
> 
> On 8/23/21 11:30 AM, Alvaro wrote:
> > Hi Erik,
> >
> > The tutorial say:
> >
> > "Maybe you have installed different versions of Java. Please, select the 
> > just installed OpenJava 11:
> > sudo update-alternatives --config java
> >
> >
> > ------------
> >
> >
> > On Mon, 23 Aug 2021 11:10:28 -0500
> > Erik Edwards <[email protected]> wrote:
> >
> >> After an update to Fedora (which updated the openjdk environment)
> >> OpenMeetings would no longer start via the systemd service script, but
> >> it would start via the command line.
> >>
> >> Looking in <OpenMeetingsLogDir>/catalina.out showed the java machine was
> >> not found.
> >>
> >> Traced this to the line in the .service file:
> >>
> >> Environment=JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
> >>
> >> Changed it to:
> >>
> >> Environment=JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.11.0.9-0.fc34.x86_64
> >>
> >> Then OpenMeetings was again able to start from systemd.
> >>
> >>
> >
> 


-- 

Reply via email to