remove debian files and main
This commit is contained in:
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Query and configure network interfaces using JSON-RPC over HTTP.
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=root
|
|
||||||
Group=netdev
|
|
||||||
Environment="RUST_LOG=error"
|
|
||||||
ExecStart=/usr/bin/peach-network
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,14 +0,0 @@
|
|||||||
use std::process;
|
|
||||||
|
|
||||||
use log::error;
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
// initalize the logger
|
|
||||||
env_logger::init();
|
|
||||||
|
|
||||||
// handle errors returned from `run`
|
|
||||||
if let Err(e) = peach_network::run() {
|
|
||||||
error!("Application error: {}", e);
|
|
||||||
process::exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user