diff --git a/install.sh b/install.sh index daffc56e921a6eb2cecbe9f1b34efc3d5e6b4467..11e4cd5b48994443eaad582fdb19d53dffd73ab3 100755 --- a/install.sh +++ b/install.sh @@ -32,6 +32,7 @@ ln -s /opt/voc/configs/udev.rules /etc/udev/rules.d/v4l2-voc.rules ln -s /opt/voc/services/voctomix2-recording-sink.service /etc/systemd/system/voctomix2-recording-sink.service ln -s /opt/voc/services/voctomix2-streaming-sink.service /etc/systemd/system/voctomix2-streaming-sink.service ln -s /opt/voc/services/voctomix2-playout-mix.service /etc/systemd/system/voctomix2-playout-mix.service +ln -s /opt/voc/services/voctomix2-playout-premix.service /etc/systemd/system/voctomix2-playout-premix.service ln -s /opt/voc/services/voctomix2-voctocore.service /etc/systemd/system/voctomix2-voctocore.service systemctl enable voctomix2-recording-sink.service diff --git a/services/voctomix2-playout-premix.service b/services/voctomix2-playout-premix.service new file mode 100644 index 0000000000000000000000000000000000000000..0ca02482b279674d1d8045b2759a517dafbfd5ee --- /dev/null +++ b/services/voctomix2-playout-premix.service @@ -0,0 +1,16 @@ +[Unit] +Description=voctomix2 playout premix +After=voctomix2-voctocore.service +Requires=voctomix2-voctocore.service + +[Service] +User=voc +Group=voc +Type=simple +ExecStart=/opt/voc/scripts/playout-fb.sh 21000 +Restart=always +RestartSec=1s +StartLimitInterval=0 + +[Install] +WantedBy=voctomix2-voctocore.service