diff --git a/testserver.sh b/testserver.sh index 550d098..3bcae3e 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..." - sudo apt-get install -y logrotate + 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 - sudo cat < /etc/logrotate.d/odoo + cat < /etc/logrotate.d/odoo /var/log/odoo/*.log { daily missingok