s6-services/smartmontools/smartd-srv/run

5 lines
138 B
Text

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