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

Validate quality level 4

This commit is contained in:
Jimmy Monin 2017-02-16 11:41:35 +01:00
parent e78c3ce4f8
commit a171f2e484
4 changed files with 40 additions and 6 deletions

View file

@ -213,5 +213,5 @@ And you can extend it, by writing plugins that collect data from any source, usi
## Links
* Report a bug: https://github.com/YunoHost-Apps/netdata_ynh/issues
* NetData website: http://http://my-netdata.io/
* NetData website: http://my-netdata.io/
* YunoHost website: https://yunohost.org/

35
check_process Normal file
View file

@ -0,0 +1,35 @@
;; Complete test
auto_remove=1
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
is_public=1 (PUBLIC|public=1|private=0)
; Checks
pkg_linter=1
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
backup_restore=1
multi_instance=0
wrong_user=0
wrong_path=1
incorrect_path=1
corrupt_source=0
fail_download_source=0
port_already_use=0
final_path_already_use=0
;;; Levels
Level 1=auto
Level 2=auto
Level 3=auto
Level 4=na
; https://github.com/YunoHost-Apps/netdata_ynh/issues/3
; Level 5=1
Level 6=auto
Level 7=auto
Level 8=0
Level 9=0
Level 10=0

View file

@ -11,15 +11,14 @@
"maintainer": {
"name": "JimboJoe",
"email": "jimmy@monin.net",
"url": "http://my-netdata.io/"
"url": ""
},
"requirements": {
"yunohost": ">> 2.4.0"
},
"multi_instance": false,
"services": [
"nginx",
"php5-fpm"
"nginx"
],
"arguments": {
"install" : [

View file

@ -1,7 +1,7 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
set -eu
# Treat unset variables as an error
set -u
# See comments in install script
app=$YNH_APP_INSTANCE_NAME