pub async fn get_main_pid(
connection: &Connection,
full_service_name: &str,
) -> Result<u32, Error>Expand description
Returns the PID of a systemd service
§Arguments
connection: zbus connectionfull_service_name: Full name of the service name with ‘.service’ in the end