Skip to main content

write_self_pid

Function write_self_pid 

Source
pub fn write_self_pid() -> Result<(), PidError>
Expand description

Write the current process’s PID to the daemon PID file.

§Errors

Returns PidError::Io if the file can’t be written.