mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
replace www-data by movim
This commit is contained in:
parent
3741e37f51
commit
0ef6c39200
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ sudo apt-get install php5-gd php5-curl php5-imagick php5-cli -y
|
|||
final_path=/var/www/movim
|
||||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
sudo chown -R movim:www-data $final_path
|
||||
|
||||
# Create movim system user
|
||||
# Create movim system user and set permissions
|
||||
sudo useradd -d /var/www/movim -s /bin/sh movim
|
||||
sudo chown -R movim:www-data $final_path
|
||||
|
||||
# Install PHP dependencies
|
||||
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" movim
|
||||
|
|
Loading…
Reference in a new issue