summaryrefslogtreecommitdiff
path: root/strata/ntpd/ntpd.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/ntpd/ntpd.morph')
-rw-r--r--strata/ntpd/ntpd.morph6
1 files changed, 3 insertions, 3 deletions
diff --git a/strata/ntpd/ntpd.morph b/strata/ntpd/ntpd.morph
index 49316c14..b13f4312 100644
--- a/strata/ntpd/ntpd.morph
+++ b/strata/ntpd/ntpd.morph
@@ -13,7 +13,7 @@ post-install-commands:
[Service]
Type=forking
- ExecStart=/usr/bin/ntpd -u ntp:ntp
+ ExecStart=/usr/bin/ntpd -u ntp:ntp -Ng
PrivateTmp=True
Restart=on-failure
@@ -40,8 +40,8 @@ post-install-commands:
# matching hosts
#
# see ntp.conf(5) for more details
- restrict -4 default kod notrap nomodify
- restrict -6 default kod notrap nomodify
+ restrict -4 default limit kod notrap nomodify
+ restrict -6 default limit kod notrap nomodify
EOF
- install -D -m 644 ntp.conf "$DESTDIR"/etc/ntp.conf
system-integration: