mirror of
https://github.com/YunoHost-Apps/yunomonitor_ynh.git
synced 2024-09-03 17:46:11 +02:00
Fix bullseye
This commit is contained in:
parent
c633d60c75
commit
5200b2b9fc
4 changed files with 38 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue