1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
This commit is contained in:
ericgaspar 2021-08-08 09:56:36 +02:00
parent 7c76f74d25
commit a20b6ccee7
7 changed files with 34 additions and 13 deletions

21
check_process Normal file → Executable file
View file

@ -1,22 +1,29 @@
;; Test complet
; Manifest
domain="domain.tld"
path="/"
is_public=1
password="password-srtong"
path="/path"
admin="john"
language="fr"
is_public=1
password="1Strong-Password"
port="666"
; Checks
pkg_linter=1
setup_sub_dir=0
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=0
setup_private=1
setup_public=1
upgrade=1
#upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=1
change_url=0
port_already_use=0
change_url=1
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&

View file

@ -1,5 +1,5 @@
bind_host: 0.0.0.0
bind_port: 3000
bind_host: 127.0.0.1
bind_port: __PORT__
users:
- name: __ADMIN__
password: __PASSWORD__

6
conf/armv7.src Normal file
View file

@ -0,0 +1,6 @@
SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.106.3/AdGuardHome_linux_armv7.tar.gz
SOURCE_SUM=8bbc0e15ab68b2a11630e84f318f755f4a6f92ea9d0fa727e107f060ed6f5a2c
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=adguardhome

View file

@ -8,7 +8,7 @@ User=__APP__
Group=__APP__
StartLimitInterval=5
StartLimitBurst=10
ExecStart=__FINALPATH__/AdGuardHome "-s" "run" -c __FINALPATH__/AdGuardHome.yaml -p __PORT__
ExecStart=__FINALPATH__/AdGuardHome -s start -c __FINALPATH__/AdGuardHome.yaml -p __PORT__
WorkingDirectory=__FINALPATH__
#StandardOutput=file:/var/log/__APP__.out
#StandardError=file:/var/log/__APP__.err

BIN
doc/.DS_Store vendored Normal file

Binary file not shown.

View file

@ -3,12 +3,20 @@
"id": "adguardhome",
"packaging_format": 1,
"description": {
"en": "AdGuard Home package for YunoHost.",
"en": "Network-wide ads & trackers blocking DNS server",
"fr": "AdGuard Home pour YunoHost."
},
"version": "0.106.3~ynh1",
"url": "https://github.com/AdguardTeam/AdGuardHome",
"license": "free",
"url": "https://adguard.com/adguard-home.html",
"upstream": {
"license": "GPL-3.0",
"website": "https://adguard.com/adguard-home.html",
"demo": "https://demo.example.com",
"admindoc": "https://yunohost.org/packaging_apps",
"userdoc": "https://yunohost.org/apps",
"code": "https://github.com/AdguardTeam/AdGuardHome"
},
"license": "GPL-3.0",
"maintainer": {
"name": "liberodark",
"email": "liberodark@gmail.com"