mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-11 15:38:43 +00:00
unmask ntp.service unit
This commit is contained in:
@@ -56,6 +56,8 @@ if [[ -n ${TIMEZONE} && ${TIMEZONE} != "none" ]]; then
|
||||
fi
|
||||
|
||||
# Update local time.
|
||||
# Masked (?).
|
||||
run systemctl unmask ntp.service
|
||||
run service ntp stop
|
||||
run ntpdate -s cn.pool.ntp.org
|
||||
run service ntp start
|
||||
|
||||
Reference in New Issue
Block a user