Skip to content

Commit

Permalink
timezone
Browse files Browse the repository at this point in the history
Restart cron
  • Loading branch information
QROkes committed Apr 28, 2022
1 parent d86ef6d commit 2c99c02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/install
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,8 @@ set_timezone() {
# Don't reload if running inside php-optim process.
[[ $(conf_read status-api) != "ip3" ]] && sudo systemctl reload php$(conf_read php-ver)-fpm
fi

sudo systemctl restart cron
echo "${gre}Timezone has been successfully set!${dim} ($(conf_read timezone)) ${end}"
else
echo "${red}Timezone not found or not valid!${end}"
Expand Down

0 comments on commit 2c99c02

Please sign in to comment.