Run esecannaserver via nohup(1) to prevent it from dying when it gets

a SIGHUP, like when the rc script is invoked from within script(1),
e.g. in portupgrade(1)'s AFTERINSTALL hook.  This is just a workaround
and I'm investigating how esecannaserver fails to ignore a SIGHUP.

Approved by:	portmgr (will, kris and self)
This commit is contained in:
Akinori MUSHA 2003-03-09 07:34:04 +00:00
parent 1094960818
commit 2eb69ed577
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77072

View file

@ -18,7 +18,7 @@ start)
if [ -x $esecannaserver ]; then
rm -f /tmp/.iroha_unix/IROHA
echo -n ' esecanna: '
$esecannaserver
nohup $esecannaserver
fi
;;
stop)