#!/sbin/openrc-run # Copyright 2023-2025 Guillermo Ramos # Distributed under the terms of the GNU General Public License v2 # # Requirements: # - perl # - ucspi-tcp command='/usr/bin/tcpserver' command_args='-H 0.0.0.0 9123 /usr/local/bin/smarttemp_exporter' command_background='true' pidfile="/run/${RC_SVCNAME}.pid" output_log="/var/log/${RC_SVCNAME}.log" error_log="/var/log/${RC_SVCNAME}.log"