Skip to content

Commit 8670246

Browse files
Update apps.md
1 parent ada89fb commit 8670246

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

docs/apps.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
### Server
66

77
```shell
8-
sudo apt install chrony
9-
sudo service chrony restart
8+
(
9+
sudo apt install chrony
10+
sudo service chrony restart
11+
)
1012
```
1113

14+
!!! abstract "/etc/chrony/chrony.conf"
1215
```apacheconf
13-
# /etc/chrony/chrony.conf
1416
confdir /etc/chrony/conf.d
1517
pool 2.debian.pool.ntp.org iburst
1618
sourcedir /run/chrony-dhcp
@@ -31,16 +33,18 @@ manual
3133
### Client
3234

3335
```shell
34-
sudo apt install chrony
35-
sudo service chrony restart
36-
# Check that server is running
37-
sudo chronyc sources -v -a
38-
sudo chronyc clients
39-
sudo chronyc ntpdata <Server IP>
40-
# Check that port 123 is running
41-
nc -zvu <Server IP> 123
42-
chronyc activity
43-
chronyc tracking
36+
(
37+
sudo apt install chrony
38+
sudo service chrony restart
39+
# Check that server is running
40+
sudo chronyc sources -v -a
41+
sudo chronyc clients
42+
sudo chronyc ntpdata <Server IP>
43+
# Check that port 123 is running
44+
nc -zvu <Server IP> 123
45+
chronyc activity
46+
chronyc tracking
47+
)
4448
```
4549

4650
```apacheconf

0 commit comments

Comments
 (0)