Initial commit: F7cloud Talk Recording Server
- Переименовано Nextcloud на F7cloud - Добавлены зависимости Firefox ESR и Geckodriver - Создан скрипт установки с поддержкой параметров HPB - Добавлена документация и инструкции по установке Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
graft debian
|
||||
include server.conf.in
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/dh-exec
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#
|
||||
server.conf.in => /etc/nextcloud-talk-recording/server.conf
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#
|
||||
set -e
|
||||
|
||||
# The user running nextcloud-talk-recording needs a home directory for
|
||||
# geckodriver and PulseAudio related files.
|
||||
# The user will not be automatically removed if the package is uninstalled or
|
||||
# purged to avoid leaving behind files owned by the user/group.
|
||||
adduser --system nextcloud-talk-recording
|
||||
|
||||
#DEBHELPER#
|
||||
@@ -0,0 +1,14 @@
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
[Unit]
|
||||
Description=Recording server for Nextcloud Talk
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nextcloud-talk-recording
|
||||
WorkingDirectory=~
|
||||
ExecStart=/usr/bin/nextcloud-talk-recording --config /etc/nextcloud-talk-recording/server.conf
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,3 @@
|
||||
pulsectl python3-pulsectl
|
||||
pyvirtualdisplay python3-pyvirtualdisplay (>= 2.0)
|
||||
selenium python3-selenium (>= 4.11.0)
|
||||
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#
|
||||
# Dummy setup.py file to be used by stdeb; setuptools >= 61.0 must be used to
|
||||
# get the proper configuration from the pyproject.toml file.
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
# pyproject.toml uses different keywords that are not properly converted to
|
||||
# the old ones, so they need to be explicitly set here to be used by stdeb.
|
||||
# "author" can not be set without "author_email". Moreover, if the email was
|
||||
# also set in pyproject.toml it could not be set here either, as due to how
|
||||
# the parameters are internally handled by stdeb it would end mixing the
|
||||
# author set here with the author and email set in pyproject.toml.
|
||||
url = "https://github.com/nextcloud/nextcloud-talk-recording",
|
||||
)
|
||||
@@ -0,0 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
[DEFAULT]
|
||||
Package3: nextcloud-talk-recording
|
||||
Build-Depends: dh-exec
|
||||
Depends3: adduser, ffmpeg, firefox, firefox-geckodriver, pulseaudio, xvfb
|
||||
Reference in New Issue
Block a user