From bec72c74e36cb010f2b60e13d2cff3deeaa52c14 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sat, 15 Apr 2023 17:26:04 -0400 Subject: [PATCH] Update and add description for config options --- smartmontools/smartd-srv/run | 2 +- smartmontools/smartd.conf | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/smartmontools/smartd-srv/run b/smartmontools/smartd-srv/run index c183388..e5734f7 100644 --- a/smartmontools/smartd-srv/run +++ b/smartmontools/smartd-srv/run @@ -2,4 +2,4 @@ envfile /etc/s6/config/smartd.conf importas -sCuD "" SMARTD_OPTS SMARTD_OPTS fdmove -c 2 1 -exec smartd -d ${SMARTD_OPTS} +exec smartd ${SMARTD_OPTS} diff --git a/smartmontools/smartd.conf b/smartmontools/smartd.conf index a1f00d9..e31302b 100644 --- a/smartmontools/smartd.conf +++ b/smartmontools/smartd.conf @@ -1,5 +1,7 @@ -# Additional configuration options, see SMARTD(8) -SMARTD_OPTS="" +# "-d" ("--debug") provides additional output and allows s6-log to handle +# logging, change to "-n" ("--no-fork") if you prefer syslog. See SMARTD(8) +# for additional options. +SMARTD_OPTS="-d" # This configures the directives used for s6-log in the log service. DIRECTIVES="n3 s2000000 T"