summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)Author
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
2016-07-17return RETVAL for condrestart()Sally Hui
2016-07-04runscript is deprecated, use openrc-run insteadCraig Andrews
Discovered due to a Gentoo QA notice: ```text * QA Notice: #!/sbin/runscript is deprecated, use #!/sbin/openrc-run instead: * //etc/init.d/netdata ```
2016-06-06Replaces deprecated pidfile argument with -PPaul Biester
2016-05-31fixed memory leak in web_client_free()Costa Tsaousis (ktsaou)
2016-05-31added LSB (old debian) init scriptCosta Tsaousis
2016-05-27fix for logrotation #453Costa Tsaousis
2016-05-24Merge pull request #421 from simonnagl/feature/command_lineCosta Tsaousis
Command line: Follow IEEE Std 1003.1, 2013 Edition
2016-05-23Command line: Follow IEEE Std 1003.1, 2013 EditionSimon Nagl
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.
2016-05-23use try-restart in logrotate sampleElan Ruusamäe
now that #440 is merged, can use try-restart action
2016-05-23init.d: add try-restart, force reloadElan Ruusamäe
http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
2016-05-15have default logrotate file work in all cases - even if netdata is not ↵Costa Tsaousis (ktsaou)
managed by init.d/systemd
2016-05-08Let systemd handle killing the processesMichael Johnson
By setting `KillMode` to `mixed`, systemd will send `KillSignal` to the main process. It will then wait `TimeoutStopSec` and then send `SIGKILL` to all processes in the cgroup. This appears to be the desired behavior.
2016-04-19Merge pull request #132 from mcnewton/debianpkgCosta Tsaousis
Add Debian packaging
2016-04-15redhat_init_script_fix_exitcode branchearthgecko
Fixed init script for Redhat6/Centos6 to return the correct exit code from daemon modified: system/netdata-init-d.in
2016-04-15add Description= from .specElan Ruusamäe
2016-04-14Merge pull request #186 from glensc/rpmspecCosta Tsaousis
cleanup rpm .spec
2016-04-09fix for openrc not stopping netdataCosta Tsaousis (ktsaou)
2016-04-09Removed 'netdata' folder in service filespavel
2016-04-09add web files group and user to run asElan Ruusamäe
it would be consistent to pass run user too as otherwise autodetected value could differ and expected results be broken
2016-04-09PID file fixes (systemd, openrc)pavel
2016-04-08Added preparation scripts in systemd unit filepavel
2016-04-08Add logrotate configurationMatthew Newton
2016-04-08Fixed PIDFile usage in systemd unit filepavel