Outils pour utilisateurs

Outils du site


Welcome:Self hosting:Installing a server JitsiMeet

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Welcome:Self hosting:Installing a server JitsiMeet [2020/06/30 16:03]
arnaud [run the script every hour]
Welcome:Self hosting:Installing a server JitsiMeet [2020/07/05 19:26] (Version actuelle)
arnaud [run the script at bootup]
Ligne 57: Ligne 57:
 ===== Finding the current external IP and enter it into the conf file ===== ===== Finding the current external IP and enter it into the conf file =====
 (this script comes from an internet forum!) (this script comes from an internet forum!)
-<​code>​ # nano  /​etc/​init.d/​script_IP </​code>​+<​code>​ # nano  /​etc/​init.d/​script_IP.sh </​code>​
 <​code>​ <​code>​
-#!/bin/bash+#!/bin/sh 
 +  
 +### BEGIN INIT INFO 
 +# Provides: ​         Nom du script 
 +# Required-Start: ​   $local_fs $network 
 +# Required-Stop: ​    ​$local_fs 
 +# Default-Start: ​    2 3 4 5 
 +# Default-Stop: ​     0 1 6 
 +# Short-Description:​ Description courte 
 +# Description: ​      ​Description longue 
 +### END INIT INFO 
  
 DNSNAME="​jitsi.domain.tld" ​                          ##### adjust according your settings DNSNAME="​jitsi.domain.tld" ​                          ##### adjust according your settings
Ligne 86: Ligne 97:
 systemctl restart jitsi-videobridge2 ​ systemctl restart jitsi-videobridge2 ​
 </​code>​ </​code>​
-<​code>​ # chmod +x /​etc/​init.d/​script_IP </​code>​+<​code>​ # chmod +x /​etc/​init.d/​script_IP.sh </​code>​
  
 ===== run the script at bootup ===== ===== run the script at bootup =====
-<​code>#​ update-rc.d script_IP defaults </​code>​+Source: https://​www.jbnet.fr/​systeme/​linux/​debian-executer-un-script-au-demarrage-de-la-machine.html 
 +<​code>​# cd /etc/init.d  
 +# update-rc.d script_IP.sh defaults </​code>​
  
 ===== run the script every hour ===== ===== run the script every hour =====
 <​code>#​ nano /​etc/​cron.d/​IP_jitsi </​code>​ <​code>#​ nano /​etc/​cron.d/​IP_jitsi </​code>​
-<​code>​0 */1 * * * root /​etc/​init.d/​script_IP </​code>​+<​code>​0 */1 * * * root /​etc/​init.d/​script_IP.sh </​code>​
 <​note>​When the script runs, it happens that Jitsi get interrupted (even if the IP is still current) => I run it only every hour to avoid frequent breakdowns of the communication. As the IP changes only 1x per day I think this is sufficient</​note>​ <​note>​When the script runs, it happens that Jitsi get interrupted (even if the IP is still current) => I run it only every hour to avoid frequent breakdowns of the communication. As the IP changes only 1x per day I think this is sufficient</​note>​
Welcome/Self hosting/Installing a server JitsiMeet.1593533020.txt.gz · Dernière modification: 2020/06/30 16:03 par arnaud