From 62de720df89ae0f782b0fe969de66dbef74d76b0 Mon Sep 17 00:00:00 2001 From: Howard Holm Date: Tue, 13 Sep 2022 22:41:32 +0000 Subject: [PATCH] Updates to run the standalone on FreeBSD --- units/tangd.rc.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/units/tangd.rc.in b/units/tangd.rc.in index de7adf5..0027df2 100644 --- a/units/tangd.rc.in +++ b/units/tangd.rc.in @@ -4,7 +4,7 @@ # # Should probably in the future allow running as non-root -# and enable multiple interfaces in some cleaner way. +# and enable multiple interfaces in some way in the future. # PROVIDE: tangd # REQUIRE: NETWORKING DAEMON @@ -14,7 +14,6 @@ name="tangd" desc="Network Presence Binding Daemon (tang)" rcvar="tangd_enable" -command="@libexecdir@/${name}" load_rc_config $name : ${tangd_enable:=no} @@ -22,10 +21,9 @@ load_rc_config $name : ${tangd_jwkdir="@jwkdir@"} : ${tangd_logfile="/var/log/tang"} -pidfile="/var/run/${name}.pid" -required_files="@libexecdir@/${name}" required_dirs="${tangd_jwkdir}" -command_args="-p ${tangd_port} -l ${tangd_jwkdir} 2>> ${tangd_logfile}" +command="@libexecdir@/${name}" +command_args="-p ${tangd_port} -l ${tangd_jwkdir} 2>> ${tangd_logfile} &" run_rc_command "$1"