mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 15:36:56 +00:00
- Add signaling package with message types and structures for SFU communication. - Implement client and server message serialization/deserialization tests. - Enhance systemd manager to handle SFU and TURN services, including start/stop logic. - Create TURN server configuration and main server logic with HMAC-SHA1 authentication. - Add tests for TURN server credential generation and validation. - Define systemd service files for SFU and TURN services.
32 lines
585 B
Desktop File
32 lines
585 B
Desktop File
[Unit]
|
|
Description=Orama Namespace TURN (%i)
|
|
Documentation=https://github.com/DeBrosOfficial/network
|
|
After=network.target
|
|
PartOf=orama-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/orama
|
|
|
|
EnvironmentFile=/opt/orama/.orama/data/namespaces/%i/turn.env
|
|
|
|
ExecStart=/bin/sh -c 'exec /opt/orama/bin/turn --config ${TURN_CONFIG}'
|
|
|
|
TimeoutStopSec=30s
|
|
KillMode=mixed
|
|
KillSignal=SIGTERM
|
|
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=orama-turn-%i
|
|
|
|
PrivateTmp=yes
|
|
LimitNOFILE=65536
|
|
MemoryMax=1G
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|