summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)Author
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
2016-04-08package web files as root:netdataElan Ruusamäe
2016-04-05Added init script generation for Redhat6/Centos6waldemar.spitschak
2016-04-03Squashed commit of the following:Costa Tsaousis (ktsaou)
commit 950f04df117bf246cfa9a2fa99bf12a64d6bd0a4 Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 23:47:06 2016 +0300 dont keep the pidfd open commit bd45505d0177703940b2393a5e36b3e80b912ff1 Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 23:33:18 2016 +0300 dont unlink pidfile at start commit 4afd30e81d3cd70400162c7603b659fd35160c8b Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 23:30:47 2016 +0300 close pidfile then unlink commit faf66f4f5f39bda8d0b5e947afbdb8cd1ac505be Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 19:38:49 2016 +0300 fix to keep close the file if it has been successfully chwoned commit 0af1e73e6db3b681e8303ee394fc2ac003db6e67 Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 19:35:31 2016 +0300 chown pidfile only when dropping privileges; do not keep the pidfile open when not dropping privileges commit 550c9f8e9757f5a5767d11764a80f7736c197b37 Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 19:15:32 2016 +0300 do not chown pidfile commit ca808d2231ed175397408ea436a50642e10cd281 Author: Costa Tsaousis (ktsaou) <costa@tsaousis.gr> Date: Sun Apr 3 18:57:30 2016 +0300 added command line parameter -pidfile; the pidfile is only generated if this parameter is passed; #151 #156
2016-04-03Update Gentoo related filesJustin Lecher
* Properly replace install destination at buildtime in init script * Ebuild: - Add note about KSM - Drop KEYWORDS in live ebuild - Strip down calls which equal default - Set DESCRIPTION to GH slogan - Rename USE zlib to compression - Drop additional die - Allow to change NETDATA_USER in make.conf * Clean openrc init script Signed-off-by: Justin Lecher <jlec@gentoo.org>
2016-04-03build: revert pid to live within /var/run/netdataAlon Bar-Lev
as pid processing is non standard fixing mechanism is out of scope. fix C code to follow the autoconf location. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-04-02build: generate proper systemd service fileAlon Bar-Lev
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-04-02build: rename systemd service and reorg system directoryAlon Bar-Lev
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-04-02build: move pid to /var/runAlon Bar-Lev
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-01-30after network.targetCosta Tsaousis (ktsaou)
2016-01-30updated systemd serviceCosta Tsaousis (ktsaou)
2016-01-30added systemd serviceCosta Tsaousis (ktsaou)
2016-01-30updated dynamic dependenciesCosta Tsaousis (ktsaou)
2016-01-30added openrc startupCosta Tsaousis (ktsaou)