proxmox-rest-server: improve docs

And rename enable_file_log to enable_access_log.
This commit is contained in:
Dietmar Maurer
2021-09-30 11:59:21 +02:00
parent 2e44983a37
commit 0d5d15c9d1
6 changed files with 56 additions and 15 deletions

View File

@ -73,14 +73,14 @@ lazy_static::lazy_static!{
/// Retruns the current process ID (see [libc::getpid])
///
/// The value is cached at startup (so it is invalid after a fork)
pub fn pid() -> i32 {
pub(crate) fn pid() -> i32 {
*PID
}
/// Returns the starttime of the process (see [PidStat])
///
/// The value is cached at startup (so it is invalid after a fork)
pub fn pstart() -> u64 {
pub(crate) fn pstart() -> u64 {
*PSTART
}