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
|
||||
description: Network Time Protocol implementation
|
||||
version: 4.2.8p18
|
||||
revision: 2
|
||||
url: https://www.ntp.org/
|
||||
license: custom
|
||||
architecture: any
|
||||
depends: ["libcap","libedit","openssl","perl","sysusers"]
|
||||
keep: ["etc/ntp.conf"]
|
||||
type: source
|
||||
|
||||
@@ -15,3 +15,9 @@ server 2.south-america.pool.ntp.org
|
||||
|
||||
driftfile /var/lib/ntp/ntp.drift
|
||||
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
|
||||
description: Network Time Protocol daemon
|
||||
type: simple
|
||||
start_cmd: /usr/sbin/ntpd -g -u ntp:ntp
|
||||
type: background
|
||||
start_cmd: /usr/sbin/ntpd -n -g -u ntp:ntp
|
||||
exit_method: kill
|
||||
|
||||
Reference in New Issue
Block a user