Skip to content

Commit

Permalink
set cpanel server time zone to UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
HostOnNet committed Sep 2, 2017
1 parent 12f0b23 commit 99dfb13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpanel-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 99dfb13

Please sign in to comment.