1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-02-08 07:50:55 +01:00
parent f53bb7bf9a
commit 84836ff3d3

View file

@ -229,6 +229,17 @@ ynh_script_progression --message="Securing files and directories..."
chown -R $app: $final_path
chmod -R 775 ${final_path}/storage
#=================================================
# SETUP A CRON
#=================================================
ynh_script_progression --message="Setuping a cron..."
cp ../conf/cron /etc/cron.d/$app
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="/etc/cron.d/$app"
#=================================================
# RELOAD NGINX
#=================================================