\r
use chrono::{ DateTime, offset::Local };\r
\r
-#[cfg(target_os = "unix")]\r
+#[cfg(target_os = "linux")]\r
use systemd::journal;\r
\r
#[derive(Clone, Debug)]\r
\r
const VALHEIM_PROCESS_NAME: &str = "valheim_server";\r
\r
-#[cfg(target_os = "unix")]\r
+#[cfg(target_os = "linux")]\r
fn get_number_of_players() -> u32 {\r
let mut journal =\r
journal::OpenOptions::default().current_user(true).open().unwrap();\r