Skip to content

Commit

Permalink
Add conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
ssahani committed Jun 22, 2023
1 parent 720c110 commit c073fb2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
systemd_nts_timesyncd_conf = configure_file(
input : 'nts-timesyncd.conf.in',
output : 'nts-timesyncd.conf',
configuration : substs)
install_data(systemd_nts_timesyncd_conf,
install_dir : '/etc/nts-timesync')
20 changes: 20 additions & 0 deletions conf/nts-timesyncd.conf.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#

[Time]
NetworkTimeSecurityServer=time.cloudflare.com nts.sth1.ntp.se nts.netnod.se
#NTP=
#FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
ConnectionRetrySec=5
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ subdir('src/basic')
subdir('src/libsystemd')
subdir('src/shared')
subdir('units')
subdir('conf')

install_libsystemd_static = static_library(
'systemd',
Expand Down

0 comments on commit c073fb2

Please sign in to comment.