✏️ 正在编辑: chrony-wait.service
路径:
/lib/systemd/system/chrony-wait.service
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
[Unit] Description=Wait for chrony to synchronize system clock Documentation=man:chronyc(1) After=chronyd.service Requires=chronyd.service Before=time-sync.target Wants=time-sync.target [Service] Type=oneshot # Wait for chronyd to update the clock and the remaining # correction to be less than 0.1 seconds ExecStart=/usr/bin/chronyc -h 127.0.0.1,::1 waitsync 0 0.1 0.0 1 # Wait for at most 3 minutes TimeoutStartSec=180 RemainAfterExit=yes StandardOutput=null [Install] WantedBy=multi-user.target
💾 保存文件
← 返回文件管理器