From bbd15177f7ecb1f3ed441b5b597b0518d4314a7f Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 19 Sep 2018 17:42:05 +0200 Subject: [PATCH] net/ntopng: fix startup race with redis PR: https://github.com/opnsense/ports/issues/43 --- net/ntopng/src/etc/rc.syshook.d/start/50-ntopng | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 net/ntopng/src/etc/rc.syshook.d/start/50-ntopng diff --git a/net/ntopng/src/etc/rc.syshook.d/start/50-ntopng b/net/ntopng/src/etc/rc.syshook.d/start/50-ntopng new file mode 100755 index 000000000..d51bcf7d6 --- /dev/null +++ b/net/ntopng/src/etc/rc.syshook.d/start/50-ntopng @@ -0,0 +1,4 @@ +#!/bin/sh + +# start again to fix race with redis (no need to restart) +/usr/local/etc/rc.d/ntopng start