mirror of
https://github.com/YunoHost-Apps/ssbroom_ynh.git
synced 2024-09-03 20:26:29 +02:00
commit
cd8e508e17
8 changed files with 11 additions and 22 deletions
|
@ -30,7 +30,7 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
|
|||
- HTTP Invites
|
||||
- Alias management
|
||||
|
||||
**Shipped version:** 2.0.6~ynh1
|
||||
**Shipped version:** 2.0.6~ynh2
|
||||
|
||||
**Demo:** https://hermies.club/
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ For a comprehensive introduction to rooms 2.0, watch [this video](https://www.yo
|
|||
- HTTP Invites
|
||||
- Alias management
|
||||
|
||||
**Version incluse :** 2.0.6~ynh1
|
||||
**Version incluse :** 2.0.6~ynh2
|
||||
|
||||
**Démo :** https://hermies.club/
|
||||
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
# See here for more information
|
||||
# https://github.com/YunoHost/package_check#syntax-check_process-file
|
||||
|
||||
# Move this file from check_process.default to check_process when you have filled it.
|
||||
|
||||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld"
|
||||
|
@ -11,24 +6,16 @@
|
|||
language="fr"
|
||||
is_public=1
|
||||
password="1Strong-Password"
|
||||
ssb_admin_id="@5Pt3dKy2HTJ0mWuS78oIiklIX0gBz6BTfEnXsbvke9c=.ed25519"
|
||||
port="666"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_sub_dir=0
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=CommitHash
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
change_url=1
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=CommitHash
|
||||
name=Name and date of the commit.
|
||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "Secure Scuttlebutt room server implemented in Go"
|
||||
},
|
||||
"version": "2.0.6~ynh1",
|
||||
"version": "2.0.6~ynh2",
|
||||
"url": "https://github.com/ssb-ngi-pointer/go-ssb-room",
|
||||
"upstream": {
|
||||
"license": "free",
|
||||
|
|
|
@ -98,6 +98,9 @@ then
|
|||
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
|
||||
# Store file checksum for the new config file location
|
||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
|
||||
# replace domain in systemd service file
|
||||
ynh_replace_string --match_string=$old_domain --replace_string=$new_domain --target_file=/etc/systemd/system/$app.service
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -27,9 +27,7 @@ ynh_abort_if_errors
|
|||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url="/"
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
#ssb_admin_id=$YNH_APP_ARG_SSB_ADMIN_ID
|
||||
# workaround for CI test
|
||||
ssb_admin_id="@5Pt3dKy2HTJ0mWuS78oIiklIX0gBz6BTfEnXsbvke9c=.ed25519"
|
||||
ssb_admin_id=$YNH_APP_ARG_SSB_ADMIN_ID
|
||||
password=$YNH_APP_ARG_PASSWORD
|
||||
architecture=$(ynh_detect_arch)
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
|
|
@ -135,7 +135,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
|||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# RELOAD NGINX AND PHP-FPM
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading NGINX web server" --weight=1
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|||
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||
ssb_admin_id=$(ynh_app_setting_get --app=$app --key=ssb_admin_id)
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
ssbport=$(ynh_app_setting_get --app=$app --key=ssbport)
|
||||
architecture=$(ynh_detect_arch)
|
||||
|
|
Loading…
Add table
Reference in a new issue