diff --git a/check_process b/check_process index 6fc1eed..009626c 100644 --- a/check_process +++ b/check_process @@ -3,8 +3,8 @@ ; Manifest domain="domain.tld" path="/path" - admin="john" is_public=1 + admin="john" port="3000" ; Checks pkg_linter=1 diff --git a/manifest.json b/manifest.json index 94e1850..0a1db7b 100644 --- a/manifest.json +++ b/manifest.json @@ -38,14 +38,14 @@ "example": "/grafana", "default": "/grafana" }, - { - "name": "admin", - "type": "user" - }, { "name": "is_public", "type": "boolean", "default": false + }, + { + "name": "admin", + "type": "user" } ] } diff --git a/scripts/install b/scripts/install index 6be2207..7e06f80 100644 --- a/scripts/install +++ b/scripts/install @@ -25,8 +25,8 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH -admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC +admin=$YNH_APP_ARG_ADMIN app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/remove b/scripts/remove index 96a02d0..821bf0d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -27,7 +27,7 @@ db_user=$db_name # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) +# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status grafana-server >/dev/null then ynh_script_progression --message="Removing $app service integration..." --weight=1 @@ -62,6 +62,9 @@ ynh_remove_app_dependencies #================================================= # SPECIFIC REMOVE #================================================= +# REMOVE VARIOUS FILES +#================================================= +ynh_script_progression --message="Removing various files..." # If NetData is installed, configure it not to feed InfluxDB any more netdata_conf="/opt/netdata/etc/netdata/netdata.conf"