Fix #41
This commit is contained in:
parent
dfaf9020e9
commit
9e8272944b
|
@ -343,11 +343,7 @@ fn start_daemon(config_set: ConfigSet) {
|
|||
|
||||
#[cfg(target_os = "linux")]
|
||||
fn start_daemon(config_set: ConfigSet) {
|
||||
if config_set.default.use_system_agent {
|
||||
// TODO: systemd
|
||||
}else{
|
||||
fork_daemon(config_set);
|
||||
}
|
||||
fork_daemon(config_set);
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
|
|
|
@ -102,12 +102,12 @@ pub fn unregister(_config_set: ConfigSet) {
|
|||
// LINUX
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
pub fn register(config_set: ConfigSet) {
|
||||
pub fn register(_config_set: ConfigSet) {
|
||||
println!("Linux does not support automatic system daemon integration.");
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
pub fn unregister(config_set: ConfigSet) {
|
||||
pub fn unregister(_config_set: ConfigSet) {
|
||||
println!("Linux does not support automatic system daemon integration.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user