blob: 6663f22adddf3430aef4664387a0b6ce4f8db668 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/sbin/openrc-run
# Copyright 2023-2025 Guillermo Ramos <gramos@gramos.me>
# 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"
|