Fix logrotate filename
This commit is contained in:
parent
601fb18f05
commit
4a81497c02
|
@ -362,7 +362,7 @@ EOF"
|
||||||
|
|
||||||
sudo bash -c "cat > /etc/cron.hourly/oracles-logrotate <<EOF
|
sudo bash -c "cat > /etc/cron.hourly/oracles-logrotate <<EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
|
/usr/sbin/logrotate /home/${ADMIN_USERNAME}/oracles-logrotate.conf
|
||||||
EOF"
|
EOF"
|
||||||
sudo chmod 755 /etc/cron.hourly/oracles-logrotate
|
sudo chmod 755 /etc/cron.hourly/oracles-logrotate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue