summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)Author
2019-11-11Ownership and permissions of /etc/netdata (#7244)Konstantinos Natsakis
* make install takes care of ownership and permissions of /etc/netdata Instead of netdata-installer.sh * Fix identation in Makefile.am files * netdata-installer.sh: Clearer variable assignment * netdata-installer.sh: Set /etc/netdata/netdata.conf ownership to root:root and permissions to 0644 * netdata-installer.sh: Set /etc/netdata/.environment permissions to 0644 * install-or-update.sh: Set permissions for /opt/netdata/etc/netdata.conf to 0644 * install-or-update.sh: Use ${NETDATA_PREFIX} more * install-or-update.sh: Improve indentation * install-or-update.sh: Do not create /opt/netdata/etc/netdata directories * debian/rules: /etc/netdata files and directories are now installed by make install * debian/rules: Properly copy files across directories When destination directory exists * netdata.spec.in: /etc/netdata ownership and permissions * Revert "Fix identation in Makefile.am files" This reverts commit 63fdb299b69152fda6984f81b0fef02f364c5efe. * Remove uninstall-local recipes from Makefile.am files * Removed superfluous whitespace and hash
2019-11-11Makefile.am files indentation (#7252)Konstantinos Natsakis
* Use 4 spaces for indentation of non-recipe lines in Makefile.am files * Be more consistent in the use of space before = in Makefile.am files
2019-07-23Revert "netdata/packaging: Do not deliver edit-config as part of the ↵Pavlos Emm. Katsoulakis
distribution tarball (#6507)" This reverts commit 4a1c750a0c467eda9b77e31bfbcc75c92fcdd010. This causing problems, reverting and reworking the solution
2019-07-22netdata/packaging: Do not deliver edit-config as part of the distribution ↵Paul Emm. Katsoulakis
tarball (#6507) As part of #6165, we faced an issue with mac OS installation where edit-config file was havint the wrong variables setup. After deep investigation on the way Formulae was building netdata, we realized that generated edit-config was delivered together with the generated edit-conf, thus resulting on not re-creating it with the right variables. So the fix here is to not deliver edit-config with the distribution tarball, so that it gets generated as it should
2019-06-13Fix devuan support for initd (#6275)Paul Emm. Katsoulakis
* netdata/packaging: Support Devuan OS release - allow init.d installation for this distro * netdata/packaging: Cleanup netdata-lsb scriptlet 1) Dont depend on services we may or may NOT have available for monitoring 2) Fix comments 3) Use a more standard shebang, that will provide the right bash version
2019-03-18Fix path to pidfile in FreeBSD rc.d file (#5657)Honza Hommer
2018-12-18remove cross-directory dependency in build system (#5012)Paweł Krupa
* remove cross-directory dependency in build system * remove unused pythondir_POST replace sysconfdir/netdata with configdir
2018-11-08netdata-openrc: Move check from depends() function to start_pre() (#4575)Aaditya Bagga
check should be in start_pre() as its only needed when starting the service as opposed to depends() which can be called anytime to evaluate service dependencies
2018-11-02edit-config: Better support for custom editors. (#4551)Austin S. Hemmelgarn
* edit-config: Better support for custom editors. Some systems (Debian for example) don't use the `$EDITOR` environment variable to specify the preferred default editor. On most such systems, there is instead a symbolic link (or a shell script) called `editor` located somewhere in `$PATH` which will invoke the appropriate command. This updates the `edit-config` script to use this command if present in preference to just invoking `vi` as the editor. * Add missing quotes.
2018-10-16Fix make dist (#4401)Costa Tsaousis
* fix make dist; fixes #4400 * added daemon dir * fix edit-config in dist * removed config.h from file dependencies * do not attempt to detect stock files on vanilla installations * add missing files to dist * another fix for missing dist files * modular plugins are now self-configured for automake * updated lgtm * fix cncf urls
2018-10-15modularized all source code (#4391)Costa Tsaousis
* modularized all external plugins * added README.md in plugins * fixed title * fixed typo * relative link to external plugins * external plugins configuration README * added plugins link * remove plugins link * plugin names are links * added links to external plugins * removed unecessary spacing * list to table * added language * fixed typo * list to table on internal plugins * added more documentation to internal plugins * moved python, node, and bash code and configs into the external plugins * added statsd README * fix bug with corrupting config.h every 2nd compilation * moved all config files together with their code * more documentation * diskspace info * fixed broken links in apps.plugin * added backends docs * updated plugins readme * move nc-backend.sh to backends * created daemon directory * moved all code outside src/ * fixed readme identation * renamed plugins.d.plugin to plugins.d * updated readme * removed linux- from linux plugins * updated readme * updated readme * updated readme * updated readme * updated readme * updated readme * fixed README.md links * fixed netdata tree links * updated codacy, codeclimate and lgtm excluded paths * update CMakeLists.txt * updated automake options at top directory * libnetdata slit into directories * updated READMEs * updated READMEs * updated ARL docs * updated ARL docs * moved /plugins to /collectors * moved all external plugins outside plugins.d * updated codacy, codeclimate, lgtm * updated README * updated url * updated readme * updated readme * updated readme * updated readme * moved api and web into webserver * web/api web/gui web/server * modularized webserver * removed web/gui/version.txt
2018-09-30fix spdx (#4327)Paweł Krupa
2018-09-13 create pid directory, if not present (#4181)Costa Tsaousis
* create pid directory, if not present
2018-09-12remove condition from netdata.serviceCosta Tsaousis (ktsaou)
2018-09-11delete pidfile only when it existsCosta Tsaousis (ktsaou)
2018-09-11all startup files use the same pid file; all startup files remove pid file ↵Costa Tsaousis (ktsaou)
on exit
2018-09-11netdata pid is in run/netdata/netdata.pidCosta Tsaousis (ktsaou)
2018-09-11use pidfile to send HUP to netdata via logrotate; fixes #4103; fixes #4020Costa Tsaousis (ktsaou)
2018-09-10added info for giving netdata max priorityCosta Tsaousis (ktsaou)
2018-09-09when running under systemd, keep the scheduling parameters set by systemd, ↵Costa Tsaousis (ktsaou)
but report them to error.log
2018-05-31Add SPDX-License-Identifier headers to most files.Austin S. Hemmelgarn
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.
2018-05-08install startup script on MacOS; fixes #3684Costa Tsaousis (ktsaou)
2018-04-03update openrc init scriptMatthew Thode
Quote variables where able. Switch to a more posix double 'and'. Remove unused variables. The exit timeout was fixed. We also remove fetching the configuration from the init script (it should not live in it). Further we define reload rotate and save commands to prevent the need to restart all the time.
2018-01-20more informative signals on freebsdCosta Tsaousis (ktsaou)
2018-01-20added freebsd init fileCosta Tsaousis (ktsaou)
2018-01-12fix permissions in spec fileCosta Tsaousis (ktsaou)
2017-10-04proper AND at openrc shellCosta Tsaousis (ktsaou)
2017-10-03Create the var/cache/netdata directory if it doesn't already exist in the ↵Craig Andrews
systemd script
2017-10-03Fix the path to the netdata executable in the openrc scriptCraig Andrews
Fixes #2826
2017-10-03Eliminate bashisms in openrc scriptCraig Andrews
2017-09-13start netdata after chronydCosta Tsaousis (ktsaou)
2017-08-30added comments about common netdata tweaksCosta Tsaousis (ktsaou)
2017-08-22properly set negative out-of-memory (OOM) scores; #2549Costa Tsaousis (ktsaou)
2017-08-22restart netdata on-failure; fixes #2617Costa Tsaousis (ktsaou)
2017-08-22increase service stop timeout to 60 secondsCosta Tsaousis (ktsaou)
2017-03-15add mysql.service to the list of services that should be started before ↵Costa Tsaousis (ktsaou)
netdata; fixes #1945
2016-12-17fixed system/netdata-init-d.in script to suppress status output prior ↵Ivan Vari
stop/start, relates to #1381
2016-12-17fixed system/netdata-init-d.in script to check status prior stop/start, ↵Ivan Vari
fixes #1381
2016-10-01pid file in /var/run; ↵Costa Tsaousis (ktsaou)
https://github.com/firehol/netdata/pull/403#issuecomment-250894031
2016-09-04logrotate does not need to re-create netdata logs - netdata does this; fixes ↵Costa Tsaousis (ktsaou)
#866
2016-08-17fixed logrotateCosta Tsaousis (ktsaou)
2016-08-16cleanup netdata.service - fixes #773; netdata now verifies it has to its ↵Costa Tsaousis
required directories before starting
2016-08-15updated netdata.service to remove the pid file; fixes #773Costa Tsaousis
2016-08-14disable capabilities at systemd.service; #773Costa Tsaousis
2016-08-13Merge remote-tracking branch 'upstream/master' into healthCosta Tsaousis
2016-08-12Fixed path to netdata pid fileBusindre
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
2016-08-12proper log file management; re-opening logs on SIGHUP; updated logrotate; ↵Costa Tsaousis
updated systemd.service
2016-08-02Harden the netdata systemd serviceCraig Andrews
Netdata runs as the "netdata" user (not root), all capabilities are stripped, a private /tmp is used, and most of the file system is made read only. See https://www.freedesktop.org/software/systemd/man/systemd.exec.html
2016-07-25Bind to localhost by default (#314)Federico Ceratto
2016-07-18add the dollar signSally Hui