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

Revert "Fix"

This reverts commit a119abafb1.
This commit is contained in:
ericgaspar 2020-12-29 16:40:52 +01:00
parent a119abafb1
commit 4db9df8ef6
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 1 deletions

View file

@ -1,2 +1,2 @@
MAILTO="admin"
5 * * * * __APP__ /usr/bin/php __FINALPATH__/console core:archive --url=https://__DOMAIN____PATH__ > /dev/null
5 * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/console core:archive --url=https://__DOMAIN____PATH__ > /dev/null

View file

@ -115,6 +115,7 @@ ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"

View file

@ -169,6 +169,7 @@ ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="/etc/cron.d/$app"
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"