From 1625691585902a498107fd05c1756f08fc1aaa69 Mon Sep 17 00:00:00 2001 From: Manuel Reul Date: Thu, 5 Oct 2023 11:16:11 +0000 Subject: [PATCH] Update testserver.sh --- testserver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testserver.sh b/testserver.sh index 3bcae3e..550d098 100755 --- a/testserver.sh +++ b/testserver.sh @@ -7,7 +7,7 @@ if command -v logrotate >/dev/null; echo "Program Logrotate exists. Continue..." else echo "Program Lognotate doen not exist. Start installation..." - apt-get install -y logrotate + sudo apt-get install -y logrotate fi if [ ! -f /etc/logrotate.d/odoo ]; @@ -15,7 +15,7 @@ if [ ! -f /etc/logrotate.d/odoo ]; echo "Config-file for logrotation Odoo not found!" #create config-file for Odoo Logrotation - cat < /etc/logrotate.d/odoo + sudo cat < /etc/logrotate.d/odoo /var/log/odoo/*.log { daily missingok