From 39790b3b215cbe56d9719128e0a07e20ad1bab9a Mon Sep 17 00:00:00 2001 From: phahulin Date: Tue, 31 Oct 2017 17:24:10 +0300 Subject: [PATCH] Update install.sh --- TestTestNet/mining-node/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestTestNet/mining-node/install.sh b/TestTestNet/mining-node/install.sh index c1fc6e9..7ea7961 100644 --- a/TestTestNet/mining-node/install.sh +++ b/TestTestNet/mining-node/install.sh @@ -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"