Update install.sh

This commit is contained in:
phahulin 2017-10-31 17:24:10 +03:00 committed by GitHub
parent d14c6d82ee
commit 39790b3b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ configure_logrotate() {
}
EOF"
#sudo bash -c 'crontab -l 1> orig.crontab 2> /dev/null'
sudo bash -c "crontab -u root -l 1> orig.crontab 2> /dev/null"
sudo bash -c "cat >> orig.crontab << EOF
* */1 * * * /usr/sbin/logrotate /home/${ADMIN_USERNAME}/logrotate.conf
EOF"