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

2) Give permissions to “tomcat3” file:

a. chmod +x /etc/init.d/tomcat3

3) Enable “tomcat3” at boot:

a. update-rc.d tomcat3 defaults

4) Restart “tomcat3” service:

a. /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

2) Enable “kurento-media-server” at boot:

a. 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 for Windows 10

From: mentor maxhuni
Sent: domingo, 19 de julio de 2020 2:14 p.m
To: Openmeetings user-list
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

Attachment: kurento-media-server
Description: Binary data

Attachment: tomcat3
Description: Binary data

Reply via email to