Age | Commit message (Collapse) | Author |
|
|
|
on exit
|
|
This tags all the files that I can clearly identify as being part of
Netdata and not a local copy of a third party package that we're
redistributing.
|
|
|
|
stop/start, relates to #1381
|
|
fixes #1381
|
|
Fixed path to netdata pid file: /var/run
File modified: system/netdata-init-d.in
The installation displays the following paths (CentOS 6.X)
- the daemon at /usr/sbin/netdata
- config files at /etc/netdata
- web files at /usr/share/netdata
- plugins at /usr/libexec/netdata
- cache files at /var/cache/netdata
- db files at /var/lib/netdata
- log files at /var/log/netdata
- pid file at /var/run
grep "pid" system/netdata-init-d
PIDFILE=/var/$DAEMON.pid
|
|
|
|
|
|
|
|
|
|
Standardize command line options:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html
Make command line options maintainable:
- Use getopts for parsing.
- Define options in a list of structs.
- Compute optstring and help message from the struct.
Changed command line options are marked deprecated. We can remove them in the
next major release.
|
|
http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
|
|
Fixed init script for Redhat6/Centos6 to return the correct exit code from
daemon
modified:
system/netdata-init-d.in
|
|
|