mirror of
https://github.com/YunoHost-Apps/listmonk_ynh.git
synced 2024-09-03 19:36:15 +02:00
remove password from manifest and install
This commit is contained in:
parent
52cdccb3ed
commit
c1825cfe70
3 changed files with 2 additions and 17 deletions
|
@ -9,8 +9,8 @@ address = "127.0.0.1:__PORT__"
|
||||||
# be replaced with a better multi-user, role-based authentication system.
|
# be replaced with a better multi-user, role-based authentication system.
|
||||||
# IMPORTANT: Leave both values empty to disable authentication on admin
|
# IMPORTANT: Leave both values empty to disable authentication on admin
|
||||||
# only where an external authentication is already setup.
|
# only where an external authentication is already setup.
|
||||||
admin_username = "__ADMIN__"
|
admin_username = ""
|
||||||
admin_password = "__PASSWORD__"
|
admin_password = ""
|
||||||
|
|
||||||
# Database.
|
# Database.
|
||||||
[db]
|
[db]
|
||||||
|
|
|
@ -38,9 +38,6 @@ ram.runtime = "50M"
|
||||||
[install.admin]
|
[install.admin]
|
||||||
type = "user"
|
type = "user"
|
||||||
|
|
||||||
[install.password]
|
|
||||||
type = "password"
|
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
|
@ -10,18 +10,6 @@ source _common.sh
|
||||||
source ynh_install_go
|
source ynh_install_go
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# STORE SETTINGS FROM MANIFEST
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=password --value="$password"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue