charlielg / gw-admin Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thebanttu/gw-admin
Shell scripts I use to manage and run the Kannel WAP/SMS Gateway
This project forked from thebanttu/gw-admin
Shell scripts I use to manage and run the Kannel WAP/SMS Gateway
These are a bunch of scripts and configs to administer the Gateway otherwise known as the Kannel WAP/SMS Gateway. ./ * box_admin - Gateway administration plumbing shell functions. * gw - Gateway startup shell functions. * gw_commands - Shell wrapper functions for the gateway's http administration verbs. * gw_vars - The Gateway environment is defined here. * gw_config.tar.gz - Configuration starter pack. ./admin/ Systemd uses these scripts to start/stop/reload the box named by the file name. ./admin/start ** bearerbox.sh - Start bearerbox. ** smsbox.sh - Start smsbox. ** sqlbox.sh - Start sqlbox. ./admin/stop ** bearerbox.sh - Stop bearerbox. ** smsbox.sh - Stop smsbox. ** sqlbox.sh - Stop sqlbox. ./admin/reload ** bearerbox.sh - Reload bearerbox. ** smsbox.sh - Reload smsbox. ** sqlbox.sh - Reload sqlbox. ./admin/watchers ** watch_sqlbox_queues.sh - Template for checking sqlbox queues. exits 0 for OK and 1 for NOK. * panic_routine - Exectuted by parachute watcher process after bbox child fails or dies. ./logrotate/ * kannel - Logrotate config for kannel logs. ./snippets * bashrc.snip - Snippet of shell to inject into the bashrc file. ./systemd/ Systemd related config miscellany. ./systemd/env ** kannel - Systemd environment file that holds some variable definitions. * bearerbox.service - Service definition template for bearerbox. * smsbox.service - Service definition template for smsbox. * sqlbox.service - Service definition template for sqlbox. * gw_start.service - Service definition template for the gateway. [ Deprecated ] * test_gw_systemd_infection - Script to test if systemd service files have been well copied (infected). ## Bootstrap instructions. On cloning the repo onto a fresh server. cd into it ("it" being the directory you elected to clone into) and run: . gw install_gw This shall first ask you for your preferred gateway_name, please provide it. The gateway admin functions and functionality shall then be loaded into your environment while also having your .bashrc edited to have this happen each time you log in as the current user. ## To start the gateway: systemctl start bearerbox smsbox sqlbox Individual boxes can be started on their own by specifying each box in turn with the systemctl start command. ## To stop the gateway: systemctl stop bearerbox smsbox sqlbox Individual boxes can be stopped on their own by specifying each box in turn with the systemctl stop command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.