mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
filling variables
This commit is contained in:
parent
ae1d39c687
commit
c60d484373
2 changed files with 8 additions and 0 deletions
|
@ -79,6 +79,9 @@ ram.runtime = "50M"
|
|||
[install.mail_user]
|
||||
# @@ any type for this to make sure it can be used as the user part of an email address?
|
||||
|
||||
[install.flohmarkt_name]
|
||||
# flohmarkt.conf: "InstanceName"
|
||||
|
||||
[resources]
|
||||
# See the packaging documentation for the full set
|
||||
# of explanation regarding the behavior and properties for each of those
|
||||
|
@ -106,6 +109,8 @@ ram.runtime = "50M"
|
|||
# https://yunohost.org/de/packaging_apps_resources#properties-4
|
||||
# → [install] section
|
||||
# these shouldn't be necessary, because defined in the [install] section
|
||||
# → yes, works. With the values from install section the mailuser ends up in
|
||||
# /etc/postfix/app_senders_login_maps
|
||||
# mail_user = "replace_mail_user_in_manifest_toml"
|
||||
# mail_domain = "replace_mail_domain_in_manifest.toml"
|
||||
# @@ how to create a couchdb user if needed? in install-script manually?
|
||||
|
|
|
@ -61,6 +61,9 @@ python3 -m venv --without-pip "$install_dir/venv"
|
|||
$install_dir/venv/bin/pip3 install -r "$install_dir/$app/requirements.txt"
|
||||
)
|
||||
|
||||
# JwtSecret
|
||||
jwtsecret = $(openssl rand 256 | base64 -w 0)
|
||||
|
||||
# @@ configure
|
||||
ynh_add_config --template="../conf/flohmarkt.conf" --destination="$install_dir/$app/flohmarkt.conf"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue