[Bug 292456] net-mgmt/netdata upgrade to 2.8.5
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292456] net-mgmt/netdata upgrade to 2.8.5"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Jan 2026 20:02:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292456
--- Comment #12 from Vladimir Druzenko <vvd@FreeBSD.org> ---
My suggestion:
====================================================================
Add file net-mgmt/netdata/files/netdata_require.sample:
#!/bin/sh
# PROVIDE: netdata
# REQUIRE: LOGIN
# BEFORE: netdata
# After "REQUIRE: LOGIN" add required services.
====================================================================
Makefile:
post-install:
...
+ ${INSTALL_SCRIPT} ${FILESDIR}/netdata_require.sample
${STAGEDIR}${PREFIX}/etc/rc.d
====================================================================
pkg-plist:
@sample(netdata,netdata,0640) %%ETCDIR%%/netdata.conf.sample
@sample %%ETCDIR%%/netdata.newsyslog.conf.sample
etc/newsyslog.conf.d/netdata.conf
+@sample etc/rc.d/netdata_require.sample
@sample(netdata,netdata,0640) lib/netdata/conf.d/apps_groups.conf.sample
====================================================================
But this hack need runtime test.
--
You are receiving this mail because:
You are the assignee for the bug.