mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:05:06 -05:00
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.
This commit is contained in:
committed by
Miroslav Lichvar
parent
e30f937f6a
commit
1ab5b88939
@@ -2781,6 +2781,8 @@ e.g.:
|
||||
----
|
||||
pidfile /run/chronyd.pid
|
||||
----
|
||||
+
|
||||
Setting this directive to _/_ disables writing and checking of the PID file.
|
||||
|
||||
[[ptpport]]*ptpport* _port_::
|
||||
The *ptpport* directive enables *chronyd* to send and receive NTP messages
|
||||
|
||||
Reference in New Issue
Block a user