userd 0.2.0

A user daemon, managing services and regular running of jobs, in user space.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::prelude::*;

mod async_watch;

pub(crate) use async_watch::async_watch;

pub(crate) fn log_error(context: &str, result: Result<()>) {
    match result {
        Ok(_) => {}
        Err(e) => {
            log::error!("{}: {}", context, e);
        }
    }
}