1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunomonitor_ynh.git synced 2024-09-03 17:46:11 +02:00

Merge pull request #10 from YunoHost-Apps/testing

Fix Bullseye
This commit is contained in:
yalh76 2022-02-09 20:14:54 +01:00 committed by GitHub
commit fcc89bef34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 8 deletions

View file

@ -4,3 +4,4 @@ SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=yunomonitor-1-1-0.tar.gz
SOURCE_EXTRACT=true

View file

@ -90,6 +90,15 @@ ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# SPECIFIC SETUP
#=================================================
# BUILD YUNOMONITOR
#=================================================
ynh_script_progression --message="Building Yunomonitor..."
pushd "$final_path"
pip3 install pycryptodome
popd
#=================================================
# SETUP SYSTEMD
#=================================================

View file

@ -37,14 +37,6 @@ test ! -d $final_path \
#=================================================
# STANDARD RESTORATION STEPS
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RECREATE THE DEDICATED USER
#=================================================
@ -72,6 +64,25 @@ chmod u+x $final_path/yunomonitor.py
chmod u+w $final_path/conf
chmod u+w $final_path/well-known
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# BUILD YUNOMONITOR
#=================================================
ynh_script_progression --message="Building Yunomonitor..."
pushd "$final_path"
pip3 install pycryptodome
popd
#=================================================
# RESTORE SYSTEMD
#=================================================

View file

@ -101,6 +101,15 @@ ynh_install_app_dependencies $pkg_dependencies
#=================================================
# SPECIFIC UPGRADE
#=================================================
# BUILD YUNOMONITOR
#=================================================
ynh_script_progression --message="Building Yunomonitor..."
pushd "$final_path"
pip3 install pycryptodome
popd
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================