svn commit: r310354 - in head/usr.sbin: . prometheus_sysctl_exporter
Brooks Davis
brooks at freebsd.org
Thu Dec 22 20:01:07 UTC 2016
On Thu, Dec 22, 2016 at 08:42:24PM +0100, Ed Schouten wrote:
> Hey!
>
> 2016-12-21 20:53 GMT+01:00 Edward Tomasz Napiera??a <trasz at freebsd.org>:
> > That's a very good reason; it could also be fixed by moving
> > it from sbin/ to libexec/.
>
> I'm not sure that doing that is a good idea. You can also invoke this
> exporter through cron(8), so that it can be collected by the
> Prometheus node exporter. Another use case is invoking it from within
> a CGI script, so that it can be embedded in an existing web service.
> Storing the executable under /usr/libexec would therefore be a bit
> weird.
To me, those use cases argue for /usr/libexec which is for things
humans don't run.
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20161222/f95daa72/attachment.sig>
More information about the svn-src-all
mailing list