openbsd-ports/net/ntopng/pkg
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00
..
DESCR update user guide url, reported ravens10 /at/ tutanota.com 2021-08-04 19:14:51 +00:00
ntopng.rc remove rcs IDs in ports that I maintain 2022-03-07 21:36:41 +00:00
PLIST Stop using the daemon class in @newuser. 2022-11-08 11:16:56 +00:00
README remove rcs IDs in ports that I maintain 2022-03-07 21:36:41 +00:00

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Running ntopng
==============
Configure the interfaces to listen on in ntopng_flags:

  rcctl enable ntopng
  rcctl set ntopng flags -i em0

or to listen on two interfaces and allow them to be viewed either
individually or combined:

  rcctl set ntopng flags -i em0 -i em1 -i view:em0,em1

By default ntopng's embedded web server listens to port 3000 from all
interfaces. This can be restricted to localhost only by adding "-w :3000"
to the flags.

To use HTTPS on the built-in web server, create /etc/ssl/ntopng-cert.pem
containing both the private key and certificate in the same file and make
this readable by the _ntopng user. Use the -W flag to listen on HTTPS.

ntopng uses redis as backend storage and will not start unless redis
is running first. This can be done as follows:

  rcctl enable redis
  rcctl order redis ntopng

Then you can start the daemons and connect to the web interface.

  rcctl start redis ntopng

Monitor disk space usage in ${LOCALSTATEDIR}/db/ntopng.