1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
pub mod cert;
pub mod conf;
pub mod docker;
pub mod file;
pub mod nginx;
pub mod service;
pub mod targz;

// logs errors and exits
#[macro_export]
macro_rules! log_exit {
    ($($x:expr),+) => {
        {
            $(eprintln!("[ERROR] {}", $x);)+
            std::process::exit(1)
        }
    };
}