This commit is contained in:
Federico Terzi 2019-09-22 15:08:47 +02:00
parent dfaf9020e9
commit 9e8272944b
2 changed files with 3 additions and 7 deletions

View File

@ -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"))]

View File

@ -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.");
}