mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[Fix] Forgot an asterisk in logrotate helper (#320)
This commit is contained in:
parent
edcabddb63
commit
a01f7ffd2b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ynh_use_logrotate () {
|
||||||
logfile=$1/.log # Else, uses the directory and all logfile into it.
|
logfile=$1/.log # Else, uses the directory and all logfile into it.
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
cat > ./${app}-logrotate << EOF # Build a config file for logrotate
|
cat > ./${app}-logrotate << EOF # Build a config file for logrotate
|
||||||
$logfile {
|
$logfile {
|
||||||
|
|
Loading…
Add table
Reference in a new issue