From ed9b26886529f770866de98aec399b0307cb4d35 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Thu, 1 Sep 2022 15:49:01 -0400 Subject: [PATCH] Added DEBHELPER token to postinst script --- Cargo.toml | 1 + build/scripts/postinst | 2 ++ log4rs.toml | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 log4rs.toml diff --git a/Cargo.toml b/Cargo.toml index 2ab6727..66d030e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ license = "BSD 2-Clause" authors = ["Gregory Ballantine "] [dependencies] +log4rs = "1.1" toml = "0.5" serde = "1.0" serde_derive = "1.0" diff --git a/build/scripts/postinst b/build/scripts/postinst index 92ead13..1b02eba 100755 --- a/build/scripts/postinst +++ b/build/scripts/postinst @@ -21,4 +21,6 @@ fi # Change the directory ownership of /etc chown -R adept:adept /etc/adept +#DEBHELPER# + exit 0 diff --git a/log4rs.toml b/log4rs.toml new file mode 100644 index 0000000..9a36cff --- /dev/null +++ b/log4rs.toml @@ -0,0 +1,6 @@ +[appenders] +stdout = { kind = 'console' } + +[root] +level = 'info' +appenders = [ 'stdout' ]