You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

kds-sms-server

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kds-sms-server

A broker server for sending SMS.

3.3.0
pipPyPI
Maintainers
1

image

A broker server for sending SMS.

Installation :pick:

apt install python3-venv -y
mkdir -p /opt/kds-sms-server
python3 -m venv /opt/kds-sms-server
source /opt/kds-sms-server/bin/activate
pip install kds-sms-server
ln /opt/kds-sms-server/bin/kds-sms-server /usr/bin/kds-sms-server
deactivate
# setup settings.json in /opt/kds-sms-server
kds-sms-server init-db
echo """[Unit]
Description=SMS Broker - Listener - Responsible for receiving SMS as well as for the general API and UI.
After=multi-user.target

[Service]
Type=simple
Restart=always
WorkingDirectory=/opt/kds-sms-server
ExecStart=/opt/kds-sms-server/bin/kds-sms-server listener

[Install]
WantedBy=multi-user.target""" > /etc/systemd/system/kds-sms-server-listener.service
echo """[Unit]
Description=SMS Broker - Worker - Responsible for processing SMS and database cleanup processes.
After=multi-user.target

[Service]
Type=simple
Restart=always
WorkingDirectory=/opt/kds-sms-server
ExecStart=/opt/kds-sms-server/bin/kds-sms-server worker

[Install]
WantedBy=multi-user.target""" > /etc/systemd/system/kds-sms-server-worker.service
systemctl daemon-reload
systemctl enable kds-sms-server-listener.service
systemctl enable kds-sms-server-worker.service
systemctl start kds-sms-server-listener.service
systemctl start kds-sms-server-worker.service

Update :hourglass_flowing_sand:

source /opt/kds-sms-server/bin/activate
pip install -U kds-sms-server
deactivate

Debug :gear:

systemctl stop kds-sms-server-listener.service
systemctl stop kds-sms-server-worker.service
kds-sms-server listener # Or kds-sms-server worker 
systemctl start kds-sms-server-listener.service
systemctl start kds-sms-server-worker.service

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.