server: try to fix openntpd

This commit is contained in:
nemunaire 2021-02-17 15:38:03 +01:00
parent 0aa8a1e9ff
commit 012f8a66b5
1 changed files with 2 additions and 1 deletions

View File

@ -219,6 +219,7 @@ services:
- name: time
image: linuxkit/openntpd:v0.8
command: ["/bin/sh", "-c", "sleep 10; /usr/sbin/ntpd -d -s" ]
net: /run/netns/dmz-time
capabilities:
- CAP_NET_BIND_SERVICE
@ -738,7 +739,7 @@ files:
- path: etc/ntpd.conf
contents: |
listen on *
server 10.224.4.2
#server 10.224.4.2
server pool.ntp.org
mode: "0440"