mirror of
https://github.com/YunoHost-Apps/jirafeau_ynh.git
synced 2024-09-03 19:35:53 +02:00
cleaning
This commit is contained in:
parent
c5b90c08b5
commit
d8827aaa54
3 changed files with 6 additions and 8 deletions
|
@ -19,8 +19,11 @@ code = "https://gitlab.com/mojo42/Jirafeau"
|
||||||
yunohost = ">= 11.2"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
|
|
||||||
ldap = false
|
ldap = false
|
||||||
|
|
||||||
sso = false
|
sso = false
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "50M"
|
ram.build = "50M"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
|
|
@ -50,11 +50,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
||||||
# Create a dedicated PHP-FPM config
|
# Create a dedicated PHP-FPM config
|
||||||
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# NGINX CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Configuring NGINX web server..."
|
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
@ -70,7 +65,7 @@ else
|
||||||
jirafeau_path="$path"
|
jirafeau_path="$path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.local.php" --destination="$install_dir/lib/config.local.php"
|
ynh_add_config --template="config.local.php" --destination="$install_dir/lib/config.local.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/lib/config.local.php"
|
chmod 400 "$install_dir/lib/config.local.php"
|
||||||
chown $app:$app "$install_dir/lib/config.local.php"
|
chown $app:$app "$install_dir/lib/config.local.php"
|
||||||
|
@ -80,7 +75,7 @@ chown $app:$app "$install_dir/lib/config.local.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring the cron file..." --weight=2
|
ynh_script_progression --message="Configuring the cron file..." --weight=2
|
||||||
|
|
||||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
||||||
|
|
||||||
chown root: "/etc/cron.d/$app"
|
chown root: "/etc/cron.d/$app"
|
||||||
chmod 644 "/etc/cron.d/$app"
|
chmod 644 "/etc/cron.d/$app"
|
||||||
|
|
|
@ -75,7 +75,7 @@ ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
||||||
chown root: "/etc/cron.d/$app"
|
chown root: "/etc/cron.d/$app"
|
||||||
chmod 644 "/etc/cron.d/$app"
|
chmod 644 "/etc/cron.d/$app"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue