feat(recording): consolidate recording pipeline on server B
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
User=lisglo-recorder
|
||||
Group=lisglosips
|
||||
SupplementaryGroups=rtpengine
|
||||
ReadWritePaths=/data/recordings /dev/shm/voip_rec/ready /run/lisglosips /run/lisglo-recorder
|
||||
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Finalize local RTPEngine recordings for LisgloSIPS
|
||||
After=rtpengine-recording-daemon.service
|
||||
Requires=rtpengine-recording-daemon.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=rtpengine
|
||||
Group=rtpengine
|
||||
ExecStart=/usr/local/sbin/lisglosips-recording-finalize /dev/shm/voip_rec
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/dev/shm/voip_rec
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Finalize local RTPEngine recordings every five seconds
|
||||
|
||||
[Timer]
|
||||
OnBootSec=10s
|
||||
OnUnitActiveSec=5s
|
||||
AccuracySec=1s
|
||||
Unit=lisglosips-recording-finalize.service
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user