Update testserver.sh

This commit is contained in:
2023-10-05 11:19:06 +00:00
parent 1625691585
commit ab6ad5fe98

View File

@@ -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 <<EOF > /etc/logrotate.d/odoo
cat <<EOF > /etc/logrotate.d/odoo
/var/log/odoo/*.log {
daily
missingok