mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
fix timzone / timezone and add in upgrade script
This commit is contained in:
parent
1eddaf52a6
commit
3d631eb721
2 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@ password=$4
|
|||
language=$5
|
||||
public_site=$6
|
||||
port=$7
|
||||
timzone=`cat /etc/timezone`
|
||||
timezone=`cat /etc/timezone`
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl $domain$path -a movim
|
||||
|
|
|
@ -5,6 +5,7 @@ path=$(sudo yunohost app setting movim path)
|
|||
domain=$(sudo yunohost app setting movim domain)
|
||||
port=$(sudo yunohost app setting movim port)
|
||||
public_site=$(sudo yunohost app setting movim public_site)
|
||||
timezone=`cat /etc/timezone`
|
||||
|
||||
# Install Movim files
|
||||
final_path=/var/www/movim
|
||||
|
@ -53,6 +54,7 @@ else
|
|||
fi
|
||||
|
||||
# Update php-fpm configuration
|
||||
sed -i "s@YHTZ@$timezone@g" ../conf/php-fpm.conf
|
||||
sudo cp ../conf/php-fpm.conf /etc/php5/fpm/pool.d/movim.conf
|
||||
|
||||
# Nginx configuration
|
||||
|
|
Loading…
Add table
Reference in a new issue