tsynk.conf.5 - synk - synchronize files between hosts
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tsynk.conf.5 (1233B)
---
1 .Dd 2016-09-08
2 .Dt SYNK.CONF 5
3 .Os POSIX.1-2008
4 .Sh NAME
5 .Nm synk.conf
6 .Nd synk file synchronisation tool configuration file
7 .Sh DESCRIPTION
8 The
9 .Xr synk 1
10 utility will check the synchronization state of a file between peers defined in the
11 .Nm configuration file.
12
13 The peers definitions have the following format:
14 .Bd -ragged -offset indent
15 .Ic peer
16 .Ar hostname
17 .Op Ar port
18 Peers definition consist of the following parts:
19 .Bl -tag -width 11n
20 .It Ic peer
21 Keyword specifying we are defining a peer
22 .It Ar hostname
23 The hostname or IP address of the peer we want to connect to. This hostname
24 MUST be resolvable by all peers.
25 .It Op Ar port
26 The port to open on the peer to exchange file metadata. The default is 9723.
27 .Pp
28 Comments can be put anywhere in the file using a hash mark
29 .Pq Sq # ,
30 and extend to the end of the current line.
31 .Sh EXAMPLES
32 The following example will declare 3 peers:
33 .Bd -literal -offset indent
34 # peers definition for use with synk(1)
35 peer alpha.lan
36 peer beta.lan
37
38 # use port 9724 as default is already in use
39 peer gamma.lan 9724
40
41 # John FFS, add these shit to the DNS!
42 peer 192.168.200.113
43 peer 192.168.200.114
44 peer 192.168.200.115
45 .Ed
46 .Sh SEE ALSO
47 .Xr synk 1
48 .Sh AUTHORS
49 .An Willy Goiffon Aq Mt dev@z3bra.org