[Buildroot] [PATCH v5 1/2] package/netdata: new package
Marcin Niestrój
m.niestroj at grinn-global.com
Sat Mar 14 16:10:09 UTC 2020
Hi Carlos,
Carlos Santos <unixmania at gmail.com> writes:
> [..snip..]
>
> We use start-stop-daemon in the init scripts. Please refer to
> package/sysklogd/S01syslogd as a template.
Thanks for pointing that out. I was using package/openssh/S50sshd as
template previously. Sounds like it could be updated as well, right?
>
> Since netdata always damonizes but does not create a pid file, you can
> use pidof, as made in package/irqbalance/S13irqbalance (which by the
> way was not converted to the current template yet).
There is a -P netdata option that I could use:
-P filename File to save a pid while running.
Default: do not save pid to a file
>
> Finally, I saw that netdata provides a systemd unit file in
> contrib/debian/netdata.service. It would be good to check if it works
> and add NETDATA_INSTALL_INIT_SYSTEMD to netdata.mk. Notice that this
> is just a suggestion, since it can be done it in a later patch.
--
Regards,
Marcin Niestrój
More information about the buildroot
mailing list