From b73b01a56a19ab093566ecc55592801014bc1f61 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Thu, 29 May 2025 09:26:27 +0200 Subject: smarttmp_exporter --- smarttemp_exporter/smarttemp_exporter.openrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 smarttemp_exporter/smarttemp_exporter.openrc (limited to 'smarttemp_exporter/smarttemp_exporter.openrc') diff --git a/smarttemp_exporter/smarttemp_exporter.openrc b/smarttemp_exporter/smarttemp_exporter.openrc new file mode 100644 index 0000000..6663f22 --- /dev/null +++ b/smarttemp_exporter/smarttemp_exporter.openrc @@ -0,0 +1,14 @@ +#!/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" -- cgit v1.2.3