[Git][NTPsec/ntpsec][master] 2 commits: Reorganize etc/.
Eric S. Raymond
gitlab at mg.gitlab.com
Thu Oct 6 14:14:40 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
0a3609df by Eric S. Raymond at 2016-10-06T09:48:03-04:00
Reorganize etc/.
- - - - -
dbf963f4 by Eric S. Raymond at 2016-10-06T10:12:41-04:00
Add a systemd service unit to /etc.
- - - - -
10 changed files:
- etc/README
- etc/example.conf → etc/ntp-conf.d/example.conf
- etc/use-country-pool → etc/ntp-conf.d/use-country-pool
- etc/use-distro-pool → etc/ntp-conf.d/use-distro-pool
- etc/use-gpsd-json → etc/ntp-conf.d/use-gpsd-json
- etc/use-gpsd-shm → etc/ntp-conf.d/use-gpsd-shm
- etc/use-minimal-logging → etc/ntp-conf.d/use-minimal-logging
- etc/use-no-remote-configuration → etc/ntp-conf.d/use-no-remote-configuration
- etc/use-performance-logging → etc/ntp-conf.d/use-performance-logging
- + etc/ntpd.service
Changes:
=====================================
etc/README
=====================================
--- a/etc/README
+++ b/etc/README
@@ -3,13 +3,18 @@
This directory contains example run-time configuration files for the
NTP daemon, and some example startup scripts for launching it.
-The "use-" files are modular pieces of ntp.conf files that you can string
-together in any order for effect. The file titles are clues to what they're
-useful for. Each has an explanatory header comment. The file "example conf"
-shows what a file made out of use snippets is like.
+Under ntp-conf.d, The "use-" files are modular pieces of ntp.conf
+files that you can string together in any order for effect. The file
+titles are clues to what they're useful for. Each has an explanatory
+header comment. The file "example conf" shows what a file made out of
+use snippets is like.
-The rc files are start/stop scripts for NTP. They are intended as models
-for distribution packagers.
+The rc files are start/stop scripts for NTP under System-V-style
+init. They are intended as models for distribution packagers.
+
+The ntpd.service file is intended for use with systemd. Note that
+it assumes the waf default installation location /usr/sbin for
+ntpd; you may need to modify this for some distrbutions.
Additional information can be found in the ./docs directory of the
base directory.
=====================================
etc/example.conf → etc/ntp-conf.d/example.conf
=====================================
--- a/etc/example.conf
+++ b/etc/ntp-conf.d/example.conf
=====================================
etc/use-country-pool → etc/ntp-conf.d/use-country-pool
=====================================
--- a/etc/use-country-pool
+++ b/etc/ntp-conf.d/use-country-pool
=====================================
etc/use-distro-pool → etc/ntp-conf.d/use-distro-pool
=====================================
--- a/etc/use-distro-pool
+++ b/etc/ntp-conf.d/use-distro-pool
=====================================
etc/use-gpsd-json → etc/ntp-conf.d/use-gpsd-json
=====================================
--- a/etc/use-gpsd-json
+++ b/etc/ntp-conf.d/use-gpsd-json
=====================================
etc/use-gpsd-shm → etc/ntp-conf.d/use-gpsd-shm
=====================================
--- a/etc/use-gpsd-shm
+++ b/etc/ntp-conf.d/use-gpsd-shm
=====================================
etc/use-minimal-logging → etc/ntp-conf.d/use-minimal-logging
=====================================
--- a/etc/use-minimal-logging
+++ b/etc/ntp-conf.d/use-minimal-logging
=====================================
etc/use-no-remote-configuration → etc/ntp-conf.d/use-no-remote-configuration
=====================================
--- a/etc/use-no-remote-configuration
+++ b/etc/ntp-conf.d/use-no-remote-configuration
=====================================
etc/use-performance-logging → etc/ntp-conf.d/use-performance-logging
=====================================
--- a/etc/use-performance-logging
+++ b/etc/ntp-conf.d/use-performance-logging
=====================================
etc/ntpd.service
=====================================
--- /dev/null
+++ b/etc/ntpd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+ExecStop=killall /usr/sbin/ntpd
+Restart=always
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/d66c5fb06b816a4bfd56eec63bbdd9f6aa96b2e1...dbf963f420bf8c1141fdb0ed193cbd9c15f0eefa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161006/04fdf797/attachment.html>
More information about the vc
mailing list