s6-services/smartmontools/smartd-srv/run

5 lines
139 B
Text

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