diff options
author | Dan Langille <dvl@FreeBSD.org> | 2019-07-31 01:27:54 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2019-07-31 01:27:54 +0000 |
commit | 1ed891dfbed7d4f955841aef995c8b1de4525c14 (patch) | |
tree | 8b150511952f1aea116ad310607991bdb90c1fd4 /www/ot-recorder | |
parent | 22fb9d72c201aaae634ffe5b1675fcb755b17d24 (diff) | |
download | ports-1ed891dfbed7d4f955841aef995c8b1de4525c14.tar.gz ports-1ed891dfbed7d4f955841aef995c8b1de4525c14.zip |
Remove files/ot-recorder because it was replaced by files/ot-recorder.in but
I forget to remove it before checkin.
Add %%PREFIX%% to files/ot-recorder.in
Notes
Notes:
svn path=/head/; revision=507690
Diffstat (limited to 'www/ot-recorder')
-rw-r--r-- | www/ot-recorder/Makefile | 1 | ||||
-rw-r--r-- | www/ot-recorder/files/ot-recorder | 30 | ||||
-rw-r--r-- | www/ot-recorder/files/ot-recorder.in | 2 |
3 files changed, 2 insertions, 31 deletions
diff --git a/www/ot-recorder/Makefile b/www/ot-recorder/Makefile index bdf270cfb6bd..14460d5ae9b4 100644 --- a/www/ot-recorder/Makefile +++ b/www/ot-recorder/Makefile @@ -3,6 +3,7 @@ PORTNAME= ot-recorder PORTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= dvl@FreeBSD.org diff --git a/www/ot-recorder/files/ot-recorder b/www/ot-recorder/files/ot-recorder deleted file mode 100644 index 87f2385e84bc..000000000000 --- a/www/ot-recorder/files/ot-recorder +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# -# PROVIDE: otrecorder -# REQUIRE: LOGIN mosquitto hass -# KEYWORD: shutdown -# -# -# Add the following lines to /etc/rc.conf to configure ot-recorder: -# otrecorder_enable (bool): Set it to "YES" to enable ot-recorder. -# Default is "NO". -# otrecorder_args (str): Arguments passed to ot-recorder on startup. -# Default is "". - -. /etc/rc.subr - -name=otrecorder -rcvar=${name}_enable -pidfile="/var/run/otrecorder/${name}.pid" -otrecorder_command="stdbuf -o0 %%PREFIX%%/sbin/ot-recorder" -command="/usr/sbin/daemon" - -load_rc_config $name -: ${otrecorder_enable:=NO} -: ${otrecorder_args:=""} -: ${otrecorder_user:="ot-recorder"} - -command_args="-P ${pidfile} -r -f -o /var/log/ot-recorder/ot-recorder.log ${otrecorder_command} ${otrecorder_args}" - -run_rc_command "$1" diff --git a/www/ot-recorder/files/ot-recorder.in b/www/ot-recorder/files/ot-recorder.in index afea28deda63..87f2385e84bc 100644 --- a/www/ot-recorder/files/ot-recorder.in +++ b/www/ot-recorder/files/ot-recorder.in @@ -17,7 +17,7 @@ name=otrecorder rcvar=${name}_enable pidfile="/var/run/otrecorder/${name}.pid" -otrecorder_command="stdbuf -o0 /usr/local/sbin/ot-recorder" +otrecorder_command="stdbuf -o0 %%PREFIX%%/sbin/ot-recorder" command="/usr/sbin/daemon" load_rc_config $name |