1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00
This commit is contained in:
Éric Gaspar 2023-11-16 13:45:56 +01:00
parent 176080a0d5
commit ee1f572f18
2 changed files with 17 additions and 0 deletions

View file

@ -68,6 +68,11 @@ ram.runtime = "50M"
sha256 = "a6b93fb05ef6bf9ab206fd4bcffda763a2cf33ea27e7f83000c335bbdf97f310"
autoupdate.strategy = "latest_github_tag"
[resources.sources.rabbitmq]
url = "https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.12.8/rabbitmq-server_3.12.8-1_all.deb"
sha256 = "bc796fed9477c6c2ea56b3ecaea529ee3abc19cf2bab74a5fb79fad856d2dfef"
autoupdate.strategy = "latest_github_tag"
[resources.system_user]
allow_email = true

View file

@ -20,6 +20,18 @@ ynh_script_progression --message="Setting up source files..." --weight=6
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir" --source_id="rabbitmq"
#=================================================
# INSTALL RABBITMQ
#=================================================
ynh_script_progression --message="Installing RabbitMQ..."
tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir --source_id="rabbitmq"
dpkg -i $tempdir/rabbitmq-server.deb
ynh_secure_remove --file="$tempdir"
#=================================================
# NGINX CONFIGURATION
#=================================================