1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

fix permission on config

This commit is contained in:
Julien Malik 2014-03-19 09:15:07 +01:00
parent c0fc134a61
commit fc39760cba

View file

@ -38,6 +38,8 @@ sed -i "s@YNH_DOMAIN@$domain@g" ../conf/config.js
sed -i "s@YNH_LOCATION@$path@g" ../conf/config.js sed -i "s@YNH_LOCATION@$path@g" ../conf/config.js
sed -i "s@YNH_MAIL@@g" ../conf/config.js sed -i "s@YNH_MAIL@@g" ../conf/config.js
sudo cp ../conf/config.js $final_path/ghost sudo cp ../conf/config.js $final_path/ghost
sudo chown ghostblog: $final_path/ghost/config.js
sudo chmod 644 $final_path/ghost/config.js
echo "Nginx configuration..." echo "Nginx configuration..."
sed -i "s@YNH_LOCATION@$path@g" ../conf/nginx.conf sed -i "s@YNH_LOCATION@$path@g" ../conf/nginx.conf