mirror of
https://github.com/YunoHost-Apps/kiwiirc_ynh.git
synced 2024-09-03 19:35:59 +02:00
Add permissions
This commit is contained in:
parent
79781c1608
commit
f1ced0ac4e
2 changed files with 5 additions and 1 deletions
|
@ -3,4 +3,3 @@ SOURCE_SUM=c7b31b2a92b173db4a3878d95aa74c8eb796e7b4d5600a80a00a73d80aa12ada
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=
|
|
||||||
|
|
|
@ -116,6 +116,11 @@ ynh_script_progression --message="Modifying a config file..."
|
||||||
ynh_add_config --template="../conf/config.json.example" --destination="$final_path/static/config.json"
|
ynh_add_config --template="../conf/config.json.example" --destination="$final_path/static/config.json"
|
||||||
ynh_add_config --template="../conf/config.conf.example" --destination="$webircgateway_path/config.conf"
|
ynh_add_config --template="../conf/config.conf.example" --destination="$webircgateway_path/config.conf"
|
||||||
|
|
||||||
|
chmod 600 "$final_path/static/config.json"
|
||||||
|
chmod 600 "$webircgateway_path/config.conf"
|
||||||
|
chown $app:$app "$final_path/some_config_file"
|
||||||
|
chown $app:$app "$webircgateway_path/config.conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue