From 99dfb13628f61ea12bf7d48ed6142770448406f9 Mon Sep 17 00:00:00 2001 From: Yujin Boby Date: Sat, 2 Sep 2017 08:57:00 +0530 Subject: [PATCH] set cpanel server time zone to UTC --- cpanel-config.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpanel-config.sh b/cpanel-config.sh index 40f8e7c..06e753c 100755 --- a/cpanel-config.sh +++ b/cpanel-config.sh @@ -35,4 +35,9 @@ # Check Password ENV variable. WHM > Tweak Settings > Hide login password from cgi scripts /bin/sed -i "s/^cgihidepass=0$/cgihidepass=1/g" /var/cpanel/cpanel.config +# set timezone to UTC + +rm -f /etc/localtime +ln -s /usr/share/zoneinfo/UTC /etc/localtime + service cpanel restart