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:
parent
d3b7e593ed
commit
b80991242e
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue