Skip to main content

pid_file_path

Function pid_file_path 

Source
pub fn pid_file_path(scope_hash: Option<&str>) -> PathBuf
Expand description

Returns the path to the daemon PID file.

  • Linux/macOS: same directory as the socket, with .pid extension.
  • Windows: %LOCALAPPDATA%\running-process\daemon{-hash}.pid