Update install.sh
This commit is contained in:
parent
27916aecb5
commit
d14c6d82ee
|
@ -343,7 +343,7 @@ configure_logrotate() {
|
||||||
}
|
}
|
||||||
EOF"
|
EOF"
|
||||||
|
|
||||||
sudo bash -c 'crontab -l 1> orig.crontab 2> /dev/null'
|
#sudo bash -c 'crontab -l 1> orig.crontab 2> /dev/null'
|
||||||
sudo bash -c "cat >> orig.crontab << EOF
|
sudo bash -c "cat >> orig.crontab << EOF
|
||||||
* */1 * * * /usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
|
* */1 * * * /usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
|
||||||
EOF"
|
EOF"
|
||||||
|
|
Loading…
Reference in New Issue