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"