s6-services/smartmontools/smartd-srv/run

6 lines
139 B
Text
Raw Normal View History

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