Update testserver.sh

This commit is contained in:
2023-10-05 11:16:11 +00:00
parent 964d5d39ae
commit 1625691585

View File

@@ -7,7 +7,7 @@ if command -v logrotate >/dev/null;
echo "Program Logrotate exists. Continue..." echo "Program Logrotate exists. Continue..."
else else
echo "Program Lognotate doen not exist. Start installation..." echo "Program Lognotate doen not exist. Start installation..."
apt-get install -y logrotate sudo apt-get install -y logrotate
fi fi
if [ ! -f /etc/logrotate.d/odoo ]; if [ ! -f /etc/logrotate.d/odoo ];
@@ -15,7 +15,7 @@ if [ ! -f /etc/logrotate.d/odoo ];
echo "Config-file for logrotation Odoo not found!" echo "Config-file for logrotation Odoo not found!"
#create config-file for Odoo Logrotation #create config-file for Odoo Logrotation
cat <<EOF > /etc/logrotate.d/odoo sudo cat <<EOF > /etc/logrotate.d/odoo
/var/log/odoo/*.log { /var/log/odoo/*.log {
daily daily
missingok missingok