mirror of
https://github.com/YunoHost-Apps/mautrix_signal_ynh.git
synced 2024-09-03 19:46:07 +02:00
python optional requirements
This commit is contained in:
parent
135fe7ad53
commit
ead6216a5f
1 changed files with 4 additions and 3 deletions
|
@ -212,7 +212,8 @@ ynh_replace_string --match_string=__LOG_LEVEL__ --replace_string="error" --targe
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
# Configure Mautrix-Bridge
|
# Configure Mautrix-Bridge
|
||||||
python3 -m venv $final_path
|
python3 -m venv $final_path
|
||||||
#$final_path/bin/pip3 install --upgrade setuptools wheel
|
$final_path/bin/pip3 install --upgrade setuptools wheel
|
||||||
|
$final_path/bin/pip3 install -r $final_path/optional-requirements.txt
|
||||||
$final_path/bin/pip3 install $final_path/src/mautrix-signal.tar.gz[all]
|
$final_path/bin/pip3 install $final_path/src/mautrix-signal.tar.gz[all]
|
||||||
$final_path/bin/python3 -m mautrix_signal -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml
|
$final_path/bin/python3 -m mautrix_signal -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml
|
||||||
|
|
||||||
|
@ -263,7 +264,7 @@ chown $mautrix_bridge_user:root -R /var/log/$app
|
||||||
#=================================================
|
#=================================================
|
||||||
#yunohost service add $app --log "/var/log/$app/log.log"
|
#yunohost service add $app --log "/var/log/$app/log.log"
|
||||||
# if using yunohost version 3.2 or more in the 'manifest.json', a description can be added
|
# if using yunohost version 3.2 or more in the 'manifest.json', a description can be added
|
||||||
yunohost service add $app --description "$app daemon for bridging FB and Matrix messages" --log "/var/log/$app/$app.log"
|
yunohost service add $app --description "$app daemon for bridging Signal and Matrix messages" --log "/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue