23 lines
800 B
Desktop File
23 lines
800 B
Desktop File
|
|
[Unit]
|
||
|
|
Description=Voice Limit Guard (hard per-room voice channel participant limits, fronts lk-jwt-service)
|
||
|
|
After=network.target livekit-server.service lk-jwt-service.service
|
||
|
|
Wants=lk-jwt-service.service
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
ExecStart=/usr/bin/env python3 /opt/voice-limit-guard/voice-limit-guard.py
|
||
|
|
Restart=on-failure
|
||
|
|
RestartSec=5
|
||
|
|
# MATRIX_TOKEN (server-admin) is read from the existing deploy env file.
|
||
|
|
EnvironmentFile=/etc/matrix-deploy.env
|
||
|
|
Environment=GUARD_BIND_HOST=0.0.0.0
|
||
|
|
Environment=GUARD_BIND_PORT=8070
|
||
|
|
Environment=GUARD_UPSTREAM=http://127.0.0.1:8071
|
||
|
|
Environment=LIVEKIT_API=http://127.0.0.1:7880
|
||
|
|
Environment=SYNAPSE_API=http://127.0.0.1:8008
|
||
|
|
Environment=LIVEKIT_KEY=lotuskey
|
||
|
|
Environment=LIVEKIT_SECRET=GoI5PPLbNXZlQHlfdAzLFy0B/QoqA9uXiyb/p6dQEtc=
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|