blob: 94f0964cc27c2f95bb72ebb201b1fb2932cbb8d3 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
mod common;
mod dbus;
mod memory;
#[cfg(test)]
mod test;
use anyhow::{bail, Result};
use sys_util::syslog;
fn main() -> Result<()> {
if let Err(e) = syslog::init() {
bail!("Failed to initiailize syslog: {}", e);
}
dbus::service_main()
}