Code Monkey home page Code Monkey logo

jitsi-meet-scripts's Introduction

Jitsi Conflinker

is a script to keep your jitsi-meet configs update-proof. It will symlink your configs from another folder to the original destination. In case of an update, just re-deploy your configs with this script.

Installation

Prerequisites

Every Appfolder represents in it the absolute path of the original files This step must be done manually (rsync /etc/jitsi /opt/jitsi_tools etc...) Rename your rsynced config files with an trailing _org The script will compile an backup of the original configfiles and store them in a manner that the corresponding backup-script can compute it. Deploy the script in an appropriate folder and copy your live configs as follows

root@server:/opt/jitsi_tools# ls
README.md  conflinker.sh  jitsi  nginx  prosody

Every folder represents the absolute config path e.g.

root@server:/opt/jitsi-custom-configs-source# find . -type f
./nginx/etc/nginx/sites-available/your.fancy.domain.com.conf_org
./jitsi/etc/jitsi/videobridge/logging.properties_org
./jitsi/etc/jitsi/videobridge/20-jvb-udp-buffers.conf_org
./jitsi/etc/jitsi/videobridge/config_org
./jitsi/etc/jitsi/videobridge/sip-communicator.properties_org
./jitsi/etc/jitsi/jicofo/logging.properties_org
./jitsi/etc/jitsi/jicofo/config_org
./jitsi/etc/jitsi/jicofo/sip-communicator.properties_org
./jitsi/etc/jitsi/meet/your.jitsi.server-config.js_org
./jitsi/etc/sysctl.d/99-custom.conf_org
./jitsi/usr/share/jitsi-meet/interface_config.js_org
./jitsi/usr/share/jitsi-meet/title.html_org
./jitsi/usr/share/jitsi-meet/static/welcomePageAdditionalContent.html_org
./jitsi/usr/share/jitsi-meet/css/all.css_org
./jitsi/usr/share/jitsi-meet/libs/app.bundle.min.js_org
./jitsi/usr/share/jitsi-meet/libs/dial_in_info_bundle.min.js_org
./jitsi/usr/share/jitsi-meet/lang/main-de.json_org
./prosody/etc/prosody/conf.avail/your.fancy.domain.com.cfg.lua_org

Usage

./conflinker.sh

Explanation

After running the script you'll find a backup of the original files in your configured backup path. Symbolic links are in place of the original files you deployed before to your custom remote folder.

Jitsi-Backup Scripts

It is a simple backup script to fetch all configs and store them aside

Installation

Deploy the script in an appropriate location and configure it to your needs

mkdir -p /root/backup_jobs/
cp jitsi_backup.sh !$
cp jitsi_backup_push.sh /root/backup_jobs/
crontab -l
# Jitsi Backup Job. runtime ~ 45 Sec.
5 4 * * * /root/backup_jobs/jitsi_backup.sh
# Jitsi copy to Coldstorage. Runtime ~15 Sec.
10 4 * * * /root/backup_jobs/jitsi_backup_push.sh

Usage

./jitsi_backup.sh
./jitsi_backup_push.sh

Jitsi Create User Script

It is a simple wrapper-script to create a new prosody user on your behalf, restart the services as needed and backup the existing config

Installation

Deploy the script in an appropriate location and configure it to your needs

mkdir -p /opt/jitsi_tools/
cp jitsi_create_user.sh !$

Usage

./jitsi_create_user.sh --USER=jack --PW=1234 --DOMAIN=my.fancy.domain.com --BAK=y


## License
[MIT](https://choosealicense.com/licenses/mit/)

jitsi-meet-scripts's People

Contributors

andrestemmann avatar

Stargazers

 avatar pole9999 avatar baki gul avatar Ворон avatar smithart avatar  avatar Sam avatar Deb Acharjee avatar sf-tdoan avatar  avatar

Watchers

Eric Wayne Key avatar

jitsi-meet-scripts's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.