1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Add admin

This commit is contained in:
ericgaspar 2021-06-29 14:00:33 +02:00
parent 4310c1bdf7
commit cf842402da
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 8 additions and 1 deletions

View file

@ -1,2 +1,2 @@
MAILTO="admin"
MAILTO=__EMAIL__
5 * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/console core:archive --url=https://__DOMAIN____PATH__ > /dev/null

View file

@ -43,6 +43,11 @@
"example": "/matomo",
"default": "/matomo"
},
{
"name": "admin",
"type": "user",
"example": "johndoe"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -22,6 +22,8 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
email=$(ynh_user_get_info --username=$admin --key=mail)
is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME