Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2015 00:56:30 -0700 (MST)
From:      zhup <zhup@tutamail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to make process working in background?
Message-ID:  <1440834990532-6035821.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have below startup script.
My question is how to make this process working in background?

#!/bin/sh
. /etc/rc.subr
name=test
rcvar=test_enable
command="/usr/sbin/${name}"
load_rc_config $name
run_rc_command "$1"


Why I am not able to stop this process?

root@mys:~ # /etc/rc.d/test stop
Stopping test.
Waiting for PIDS: 5146 5147Stopping oscam.
Waiting for PIDS: 5146 5147


Thank you in advance. 



--
View this message in context: http://freebsd.1045724.n5.nabble.com/How-to-make-process-working-in-background-tp6035821.html
Sent from the freebsd-questions mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1440834990532-6035821.post>