summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 368beb3..5f9009f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -82,7 +82,12 @@ fn hello(r: &mut Request) -> IronResult<Response> {
res
}
+extern crate systemhttp;
fn main() {
+ use systemhttp::systemd::job;
+ let u = job::get_jobs().unwrap();
+ println!("{:?}", u);
+
env_logger::init().unwrap();
let secret = b"secret2".to_vec();
let router = router!(