Fix esvm service, improve default ntp.conf and set it to be kept during updates
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
name: ntp
|
name: ntp
|
||||||
description: Network Time Protocol implementation
|
description: Network Time Protocol implementation
|
||||||
version: 4.2.8p18
|
version: 4.2.8p18
|
||||||
|
revision: 2
|
||||||
url: https://www.ntp.org/
|
url: https://www.ntp.org/
|
||||||
license: custom
|
license: custom
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libcap","libedit","openssl","perl","sysusers"]
|
depends: ["libcap","libedit","openssl","perl","sysusers"]
|
||||||
|
keep: ["etc/ntp.conf"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -15,3 +15,9 @@ server 2.south-america.pool.ntp.org
|
|||||||
|
|
||||||
driftfile /var/lib/ntp/ntp.drift
|
driftfile /var/lib/ntp/ntp.drift
|
||||||
pidfile /run/ntpd.pid
|
pidfile /run/ntpd.pid
|
||||||
|
|
||||||
|
restrict default limited kod nomodify notrap nopeer noquery
|
||||||
|
restrict -6 default limited kod nomodify notrap nopeer noquery
|
||||||
|
|
||||||
|
restrict 127.0.0.1
|
||||||
|
restrict ::1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: ntpd
|
name: ntpd
|
||||||
description: Network Time Protocol daemon
|
description: Network Time Protocol daemon
|
||||||
type: simple
|
type: background
|
||||||
start_cmd: /usr/sbin/ntpd -g -u ntp:ntp
|
start_cmd: /usr/sbin/ntpd -n -g -u ntp:ntp
|
||||||
exit_method: kill
|
exit_method: kill
|
||||||
|
|||||||
Reference in New Issue
Block a user