s6-services/smartmontools/smartd-srv/run

5 lines
141 B
Text

#!/bin/execlineb -P
envfile /etc/s6/config/smartd.conf
importas -sCuD "" SMARTD_OPTS SMARTD_OPTS
fdmove -c 2 1
exec smartd -d ${SMARTD_OPTS}