From a01f7ffd2b691daf84b02c2137815b08ae4eab7d Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 13 Jun 2017 22:18:48 +0200 Subject: [PATCH] [Fix] Forgot an asterisk in logrotate helper (#320) --- data/helpers.d/backend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/helpers.d/backend b/data/helpers.d/backend index d6754bbfa..2b199fd90 100644 --- a/data/helpers.d/backend +++ b/data/helpers.d/backend @@ -17,7 +17,7 @@ ynh_use_logrotate () { logfile=$1/.log # Else, uses the directory and all logfile into it. fi else - logfile="/var/log/${app}/.log" # Without argument, use a defaut directory in /var/log + logfile="/var/log/${app}/*.log" # Without argument, use a defaut directory in /var/log fi cat > ./${app}-logrotate << EOF # Build a config file for logrotate $logfile {