How to make process working in background?
zhup
zhup at tutamail.com
Sat Aug 29 07:56:38 UTC 2015
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 at 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.
More information about the freebsd-questions
mailing list