mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
silent curl
This commit is contained in:
parent
dd4a2ee7e5
commit
89c0b895ee
3 changed files with 4 additions and 4 deletions
|
@ -96,7 +96,7 @@ prosodyctl mod_roster_command subscribe "$focus_user.$domain" "$focus_user@auth.
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring Jitsi-Videobridge..." --weight=1
|
||||
|
||||
public_ipv4="$(curl ip.yunohost.org)" || true
|
||||
public_ipv4="$(curl --no-progress-meter ip.yunohost.org)" || true
|
||||
private_ipv4="$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')" || true
|
||||
|
||||
mkdir -p "/etc/$app/videobridge"
|
||||
|
|
|
@ -40,11 +40,11 @@ ynh_restore_file --origin_path="/etc/prosody/conf.avail/$domain.cfg.lua"
|
|||
chmod 644 "/etc/prosody/conf.avail/$domain.cfg.lua"
|
||||
ln -s "/etc/prosody/conf.avail/$domain.cfg.lua" "/etc/prosody/conf.d/$domain.cfg.lua"
|
||||
|
||||
echo | prosodyctl cert generate "$domain"
|
||||
echo | ynh_exec_warn_less prosodyctl cert generate "$domain"
|
||||
ln -sf "/var/lib/prosody/$domain.key" "/etc/prosody/certs/$domain.key"
|
||||
ln -sf "/var/lib/prosody/$domain.crt" "/etc/prosody/certs/$domain.crt"
|
||||
|
||||
echo | prosodyctl cert generate "auth.$domain"
|
||||
echo | ynh_exec_warn_less prosodyctl cert generate "auth.$domain"
|
||||
ln -sf "/var/lib/prosody/auth.$domain.key" "/etc/prosody/certs/auth.$domain.key"
|
||||
ln -sf "/var/lib/prosody/auth.$domain.crt" "/etc/prosody/certs/auth.$domain.crt"
|
||||
ln -sf "/var/lib/prosody/auth.$domain.crt" "/usr/local/share/ca-certificates/auth.$domain.crt"
|
||||
|
|
|
@ -66,7 +66,7 @@ chmod 644 "/etc/prosody/conf.avail/$domain.cfg.lua"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring Jitsi-Videobridge..." --weight=1
|
||||
|
||||
public_ipv4="$(curl ip.yunohost.org)" || true
|
||||
public_ipv4="$(curl --no-progress-meter ip.yunohost.org)" || true
|
||||
private_ipv4="$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p')" || true
|
||||
|
||||
ynh_add_config --template="../conf/jitsi-videobridge-callstats-java-sdk.properties" --destination="/etc/$app/videobridge/callstats-java-sdk.properties"
|
||||
|
|
Loading…
Reference in a new issue