[main] @type = classic @description = "SMART Disk Monitoring daemon" @version = 0.0.2 @user = ( root ) [start] @execute = ( execl-cmdline -s { smartd ${cmd_args} } ) [environment] # -d does not fork and sends logs to stdout, # -n does not fork but logs to syslog # for more information, please see the smart(8) man page. cmd_args=!-d