]> git.ipfire.org Git - thirdparty/chrony.git/commit
conf: do not check, write and delete PID file if set to '/'
authorLuca Boccassi <bluca@debian.org>
Wed, 21 Aug 2024 19:21:47 +0000 (20:21 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 22 Aug 2024 12:24:49 +0000 (14:24 +0200)
commit1ab5b88939ba53f592ba4aa7251cc91e032cd32a
tree7c0e24388f8105e2e3e19c7640bd5fcbab8de108
parente30f937f6a6f2e098fdadb274024a6d98a34299f
conf: do not check, write and delete PID file if set to '/'

If the pid file path is specified as '/', skip handling it,
as it is not only unnecessary but complicates managing the
service. A systemd unit can manage the program without any
need for this functionality, and it makes process tracking
simpler and more robust.
The implementation matches the bindcmdaddress directive.
conf.c
doc/chrony.conf.adoc