mirror of
https://github.com/YunoHost-Apps/osada_ynh.git
synced 2024-09-03 19:46:30 +02:00
Fix
This commit is contained in:
parent
6df9a32530
commit
132ef6f7b3
2 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ App::$config['system']['admin_email'] = '__EMAIL__';
|
||||||
|
|
||||||
// Location of PHP command line processor
|
// Location of PHP command line processor
|
||||||
|
|
||||||
App::$config['system']['php_path'] = '/usr/bin/php__PHPVERSION__';
|
App::$config['system']['php_path'] = 'php__PHPVERSION__';
|
||||||
|
|
||||||
|
|
||||||
// Configure how we communicate with directory servers.
|
// Configure how we communicate with directory servers.
|
||||||
|
|
|
@ -29,7 +29,7 @@ path_url="/"
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
upload="256M"
|
upload="256M"
|
||||||
random_string="$(ynh_string_random)$(ynh_string_random)$(ynh_string_random)"
|
random_string=$(ynh_string_random --length=32)
|
||||||
database=`expr $YNH_APP_ARG_DATABASE`
|
database=`expr $YNH_APP_ARG_DATABASE`
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
@ -139,7 +139,7 @@ touch "$final_path/php.log"
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
chmod -R 755 $final_path/store $final_path/cache
|
chmod -R 775 $final_path/store $final_path/cache
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A DATABASE
|
# CREATE A DATABASE
|
||||||
|
|
Loading…
Add table
Reference in a new issue