Skip to content

Commit c073fb2

Browse files
committed
Add conf file
1 parent 720c110 commit c073fb2

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

conf/meson.build

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
systemd_nts_timesyncd_conf = configure_file(
2+
input : 'nts-timesyncd.conf.in',
3+
output : 'nts-timesyncd.conf',
4+
configuration : substs)
5+
install_data(systemd_nts_timesyncd_conf,
6+
install_dir : '/etc/nts-timesync')

conf/nts-timesyncd.conf.in

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This file is part of systemd.
2+
#
3+
# systemd is free software; you can redistribute it and/or modify it
4+
# under the terms of the GNU Lesser General Public License as published by
5+
# the Free Software Foundation; either version 2.1 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# Entries in this file show the compile time defaults.
9+
# You can change settings by editing this file.
10+
# Defaults can be restored by simply deleting this file.
11+
#
12+
13+
[Time]
14+
NetworkTimeSecurityServer=time.cloudflare.com nts.sth1.ntp.se nts.netnod.se
15+
#NTP=
16+
#FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
17+
#RootDistanceMaxSec=5
18+
#PollIntervalMinSec=32
19+
#PollIntervalMaxSec=2048
20+
ConnectionRetrySec=5

meson.build

+1
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ subdir('src/basic')
881881
subdir('src/libsystemd')
882882
subdir('src/shared')
883883
subdir('units')
884+
subdir('conf')
884885

885886
install_libsystemd_static = static_library(
886887
'systemd',

0 commit comments

Comments
 (0)