mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Fix install
This commit is contained in:
parent
349231b77f
commit
ae6fd80ffd
3 changed files with 1 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
||||||
# SET ALL CONSTANTS
|
# SET ALL CONSTANTS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pkg_version="3.15.0"
|
pkg_version="3.15.0-izzy1"
|
||||||
systemd_user=root
|
systemd_user=root
|
||||||
|
|
||||||
nginx_status_conf="/etc/nginx/conf.d/monitorix_status.conf"
|
nginx_status_conf="/etc/nginx/conf.d/monitorix_status.conf"
|
||||||
|
|
|
@ -24,10 +24,6 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing packages..." --weight=1
|
ynh_script_progression --message="Installing packages..." --weight=1
|
||||||
|
|
||||||
mkdir -p /var/lib/monitorix/www/imgs
|
|
||||||
mkdir -p /etc/monitorix/conf.d/
|
|
||||||
touch /etc/monitorix/conf.d/00-debian.conf
|
|
||||||
|
|
||||||
# Download package and install it
|
# Download package and install it
|
||||||
install_monitorix_package
|
install_monitorix_package
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,6 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Restoring the dependencies..." --weight=1
|
ynh_script_progression --message="Restoring the dependencies..." --weight=1
|
||||||
|
|
||||||
# FIXME: needed ?
|
|
||||||
mkdir -p /var/lib/monitorix/www/imgs
|
|
||||||
mkdir -p /etc/monitorix/conf.d/
|
|
||||||
touch /etc/monitorix/conf.d/00-debian.conf
|
|
||||||
|
|
||||||
install_monitorix_package
|
install_monitorix_package
|
||||||
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" --timeout=15
|
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" --timeout=15
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue