Update install.sh
This commit is contained in:
parent
a4b307d772
commit
3c33aebe07
|
@ -343,9 +343,9 @@ configure_logrotate() {
|
|||
}
|
||||
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
|
||||
* */1 * * * /usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
|
||||
* */1 * * * /usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
|
||||
EOF"
|
||||
sudo bash -c "cat orig.crontab | crontab -"
|
||||
|
||||
|
|
Loading…
Reference in New Issue