1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
This commit is contained in:
Éric Gaspar 2023-12-09 21:40:25 +01:00
parent c37084b27d
commit e59e770971
3 changed files with 5 additions and 2 deletions

View file

@ -18,8 +18,11 @@ code = "https://github.com/khlieng/dispatch"
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = false multi_instance = false
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "50M"
ram.runtime = "50M" ram.runtime = "50M"

View file

@ -44,7 +44,7 @@ yunohost service add $app --description="Web-based IRC client" --log="/var/log/$
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." ynh_script_progression --message="Adding a configuration file..."
ynh_add_config --template="../conf/config.default.toml" --destination="$install_dir/.dispatch/config.toml" ynh_add_config --template="config.default.toml" --destination="$install_dir/.dispatch/config.toml"
chmod 400 "$install_dir/.dispatch/config.toml" chmod 400 "$install_dir/.dispatch/config.toml"
chown $app:$app "$install_dir/.dispatch/config.toml" chown $app:$app "$install_dir/.dispatch/config.toml"

View file

@ -62,7 +62,7 @@ yunohost service add $app --description="Web-based IRC client" --log="/var/log/$
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/config.default.toml" --destination="$install_dir/.dispatch/config.toml" ynh_add_config --template="config.default.toml" --destination="$install_dir/.dispatch/config.toml"
chmod 400 "$install_dir/.dispatch/config.toml" chmod 400 "$install_dir/.dispatch/config.toml"
chown $app:$app "$install_dir/.dispatch/config.toml" chown $app:$app "$install_dir/.dispatch/config.toml"