mirror of
https://github.com/YunoHost-Apps/dispatch_ynh.git
synced 2024-09-03 18:25:53 +02:00
cleaning
This commit is contained in:
parent
c37084b27d
commit
e59e770971
3 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue