I set up the time synchronization with this post
But I got errors in the log file.
I reread the man ntpd and found that the usr/lib/66/service/ntpd file contains an invalid argument.
The argument -f
But I got errors in the log file.
I reread the man ntpd and found that the usr/lib/66/service/ntpd file contains an invalid argument.
[main]
@ type = classic
@ version = 0.3.0
@ description = "ntpd daemon"
@ user = ( root )
[start]
@ execute = ( execl-cmdline -s { ntpd ${cmd_args} -f ${conf_file} } )
[environment]
cmd_args=!-d
conf_file=!/etc/ntp/ntp.conf
Of course I fixed it in the service file, which was copied to /etc.The argument -f
@ execute = ( execl-cmdline -s { ntpd ${cmd_args} -f ${conf_file} } )
was changed to -c
@ execute = ( execl-cmdline -s { ntpd ${cmd_args} -c ${conf_file} } )
Now there are no errors in the log file. But this seems to me to be a bug in the package.