[*] 兼容action测试
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5m59s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5m59s
This commit is contained in:
@@ -38,4 +38,8 @@ server ntp5.aliyun.com iburst
|
||||
driftfile /var/lib/chrony/drift
|
||||
allow 127.0.0.1
|
||||
EOF
|
||||
systemctl restart chrony && systemctl enable chrony
|
||||
if command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl restart chrony && systemctl enable chrony
|
||||
else
|
||||
echo "systemctl 不存在,跳过 chrony 的重启"
|
||||
fi
|
||||
Reference in New Issue
Block a user