I would recommend this script https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service
You need to correct paths basic instructions are here https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L15 On Mon, 20 Jul 2020 at 12:04, Jibsan Toirac <[email protected]> wrote: > Hello Maxhuni, what I did was add some codes to the “tomcat3” file and > them I ran some commands on the terminal, them you have to restart the > server and that’s it. It worked for me on the M3 version perfectely, > anyhow, I’ll let you what I did: > > > > Steps: > > > > 1. Add next code at the Top of your “tomcat3” file: > > #!/bin/sh > > > > ### BEGIN INIT INFO > > # Provides: kurento-media-serverd > > # Required-Start: $remote_fs $network > > # Required-Stop: $remote_fs > > # Default-Start: 2 3 4 5 > > # Default-Stop: 0 1 6 > > # Short-Description: Kurento Media Server daemon > > ### END INIT INFO > > > > 1. Give permissions to “tomcat3” file: > > 1. chmod +x /etc/init.d/tomcat3 > > 2. Enable “tomcat3” at boot: > > 1. update-rc.d tomcat3 defaults > > 3. Restart “tomcat3” service: > > 1. /etc/init.d/tomcat3 start > > > > > > I’ll let you attached my “tomcat3” file. > > > > For the Kurento file, you should do the same as the previous steps, so: > > > > 1. Add next code at the Top of your “kurento-media-server” file: > > #!/bin/bash > > > > ### BEGIN INIT INFO > > # Provides: kurento-media-serverd > > # Required-Start: $remote_fs $network > > # Required-Stop: $remote_fs > > # Default-Start: 2 3 4 5 > > # Default-Stop: 0 1 6 > > # Short-Description: Kurento Media Server daemon > > ### END INIT INFO > > > > 1. Enable “kurento-media-server” at boot: > > 1. update-rc.d kurento-media-server defaults > > > > I’ll let you also my configuration file to do that. > > > > I hope this can help. > > > > Greetings, > > > > Jibsan. > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *mentor maxhuni <[email protected]> > *Sent: *domingo, 19 de julio de 2020 2:14 p.m > *To: *Openmeetings user-list <[email protected]> > *Subject: *How to start OpenMeetings on Startup > > > > I installe OM from this on Ubuntu 18.04 from this tutorial > https://cwiki.apache.org/confluence/download/attachments/27838216/Installation%20OpenMeetings%205.0.0-M4%20on%20Ubuntu%2018.04%20LTS.pdf?version=5&modificationDate=1588003937000&api=v2, > and it's working but when i restart Ubuntu server i need manualy to start > kurento-media server and tomcat3 i don't know how to konfigure kurento and > tomcat to start automaticlly on system startup. Can you help me because > when restarting server or power outage i have to manualy start services. > > > > > > Thank you in advance > > > -- Best regards, Maxim
