mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
Fix permissions
This commit is contained in:
parent
5839fa3e57
commit
c2049d74f7
3 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ version='1.1.0'
|
||||||
sudo cp $app_conf $src_path/protected/config/common.php
|
sudo cp $app_conf $src_path/protected/config/common.php
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
sudo chown -R root: $src_path
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
||||||
|
|
|
@ -25,7 +25,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
sudo cp -a ./cron "/etc/cron.d/${app}"
|
sudo cp -a ./cron "/etc/cron.d/${app}"
|
||||||
|
|
||||||
# Restore permissions to app files
|
# Restore permissions to app files
|
||||||
sudo chown -R root: $src_path
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
# MySQL
|
# MySQL
|
||||||
dbname=$app
|
dbname=$app
|
||||||
|
|
|
@ -23,7 +23,7 @@ version='1.1.0'
|
||||||
sudo cp -a humhub-$version/. $src_path
|
sudo cp -a humhub-$version/. $src_path
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
sudo chown -R root: $src_path
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
||||||
|
|
Loading…
Reference in a new issue