Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(xoa): NTP synchronization with systemd-timesyncd #8217

Merged
merged 6 commits into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions docs/docs/xoa.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ You can verify that your time is correctly set with the `date` command. To set X

## Setting a custom NTP server

By default, XOA is configured to use the standard Debian NTP servers:
By default, XOA is configured to use the `systemd-timesyncd` daemon, along with the standard Debian NTP servers:

```
pool 0.debian.pool.ntp.org iburst
Expand All @@ -239,11 +239,18 @@ pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst
```

If you'd like to use your own NTP server or another pool, you can make the changes directly in `/etc/ntp.conf`.
If you'd like to use another pool, you can make the changes directly in `/etc/systemd/timesyncd.conf`.

You will need to be root to edit this file (or use `sudo`). We recommend adding your custom server to the top of the list, leaving the debian server entries if possible.
You will need to be root to edit this file (or use `sudo`). We recommend adding your custom server to the top of the list, leaving the Debian server entries if possible.

For changes to take effect, you will need to restart NTP: `sudo systemctl restart ntp.service`.
If you'd like to simply change NTP servers, use the `xoa network ntp` command:

```console
$ xoa network ntp
? NTP servers (space separated)
```

For changes to take effect, you will need to restart NTP: `systemctl restart systemd-timesyncd.service`.

## Restart the service

Expand Down
Loading