On 11/09/2020 13:54, Mukul Shukla wrote:
> I am using Ubuntu Server 20.04

i guess it will work the same ....

sudo cp openmeetings.service /etc/systemd/system/openmeetings.service
sudo systemctl daemon-reload
sudo systemctl restart openmeetings
sudo systemctl enable (to enable it on startup)

check the script beforehand.

You need to adopt the path "/opt/openmeetings". It should be equal to
your installation directory ....

>
> On Fri, Sep 11, 2020 at 5:22 PM kaffeesurrogat
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hey Mukul,
>
>     on Ubuntu 18.04 LTS you need to copy openmeetings.service to
>     /etc/systemd/system
>
>     I guess you need to modify it. Have a look inside.
>
>     After modifying you need to issue a
>
>     sudo systemctl daemon-reload
>
>     if you do use some other linux system google around for hints
>     like, how
>     to implement your own startup script for systemd ....
>
>     Have fun,
>
>     Kaffeesurrogat
>
>
>
>     On 09/09/2020 18:40, Mukul Shukla wrote:
>     > When I try to run  sudo systemctl enable openmeetings
>     >
>     > I get this message:
>     >
>     > Failed to enable unit: Unit file openmeetings.service does not
>     exist.
>     >
>     > On Wed, Sep 9, 2020 at 9:37 PM Maxim Solodovnik
>     <[email protected] <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>> wrote:
>     >
>     >     Hello,
>     >
>     >     I personally using this
>     >   
>      script: 
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service
>     >     At Ubuntu
>     >     the instructions to start stop are in
>     >   
>      comments 
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L15
>     >
>     >     To enable autostart you need to run `sudo systemctl enable
>     >     openmeetings`
>     >
>     >     In case regular `init.d` script is used you need to run
>     something like
>     >     `sudo update-rc.d tomcat3 defaults`
>     >
>     >
>     >     On Wed, 9 Sep 2020 at 21:12, Mukul Shukla
>     <[email protected] <mailto:[email protected]>
>     >     <mailto:[email protected] <mailto:[email protected]>>>
>     wrote:
>     >
>     >         Dear All,
>     >
>     >         I have installed the latest instance of OpenMeetings on
>     Ubuntu
>     >         20.04 using the Wiki guide. Everytime the machine comes up I
>     >         have to run the command /etc/init.d/tomcat3 start.
>     >
>     >         Is there a way to start all the services automatically
>     of the
>     >         OpenMeetings including tomcat on Ubuntu Server 20.04?
>     >
>     >         Thanks
>     >
>     >         Mukul
>     >
>     >
>     >
>     >     --
>     >     Best regards,
>     >     Maxim
>     >
>
>

Reply via email to