1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Fix install/restore after remove

This commit is contained in:
Josué Tille 2021-02-18 19:07:39 +01:00
parent d3b7e593ed
commit b80991242e
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 4 additions and 0 deletions

View file

@ -40,6 +40,8 @@ ynh_app_setting_set --app $app --key nginx_status_port --value $nginx_status_por
# Creating the folder
mkdir -p /var/lib/monitorix/www/imgs
mkdir -p /etc/monitorix/conf.d/
touch /etc/monitorix/conf.d/00-debian.conf
# Install package
ynh_script_progression --message="Installing dependencies..." --weight=7

View file

@ -29,6 +29,8 @@ ynh_webpath_available --domain $domain --path_url $path_url || ynh_die --message
# Creating the folder
mkdir -p /var/lib/monitorix/www/imgs
mkdir -p /etc/monitorix/conf.d/
touch /etc/monitorix/conf.d/00-debian.conf
# Install package
ynh_script_progression --message="Reinstalling dependencies..." --weight=5