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:
parent
1094960818
commit
2eb69ed577
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77072
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ start)
|
|||
if [ -x $esecannaserver ]; then
|
||||
rm -f /tmp/.iroha_unix/IROHA
|
||||
echo -n ' esecanna: '
|
||||
$esecannaserver
|
||||
nohup $esecannaserver
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
|
|
Loading…
Reference in a new issue