0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-01-21 08:02:20 +00:00
netdata_netdata/system
Austin S. Hemmelgarn 8649e9daea
Query systemd for unit file paths on install/uninstall. (#19346)
* Query systemd for unit file paths on install/uninstall.

This makes our installation code more portable and more concise, and
should make the uninstallation code significantly more robust.

Also includes a number of other improvements to systemd handling and
updater handling in the uninstaller that should make it much more
thorough and reliable.

* Fix issues brought up in code review, and better support old systemd versions.

* Replace sed with AWK for readability.

* Fix uninstaller loop.

* Fix unit file detection in updater code.
2025-01-16 07:58:39 -05:00
..
cron Reorganize system directory to better reflect what files are actually used for. (#14544) 2023-02-27 12:38:25 -05:00
dinit Add basic support for dinit in our system service handling code. (#16836) 2024-04-04 08:25:52 -04:00
freebsd/rc.d add shutdown keyword to ensure graceful service termination on FreeBSD (#19033) 2024-11-18 18:21:25 +02:00
initd/init.d Updated copyright notices (#19256) 2024-12-20 15:25:45 +02:00
launchd fix installing service file and start/stop ND using launchctl on macOS (#16693) 2023-12-29 15:52:23 +02:00
logrotate Reorganize system directory to better reflect what files are actually used for. (#14544) 2023-02-27 12:38:25 -05:00
lsb/init.d Updated copyright notices (#19256) 2024-12-20 15:25:45 +02:00
openrc remove USR1 "Save internal DB to disk" (#17249) 2024-03-26 09:16:11 +02:00
runit Consistently start the agent as root and rely on it to drop privileges properly. (#14890) 2023-06-15 07:33:26 -04:00
systemd DBENGINE: pgc tuning, replication tuning (#19237) 2024-12-29 20:22:24 +02:00
vnodes Add vnodes default configuration file. (#14553) 2023-03-13 16:42:58 +02:00
.install-type Store info about the installation type for later retrieval. (#11157) 2021-05-24 07:34:09 -04:00
edit-config Improve container detection logic for edit-config. (#16825) 2024-01-22 17:32:41 +02:00
install-service.sh.in Query systemd for unit file paths on install/uninstall. (#19346) 2025-01-16 07:58:39 -05:00
netdata-updater.conf Add check to avoid auto-installing new major versions of Netdata. (#15898) 2024-01-17 06:49:57 -05:00
netdata.conf update default netdata.conf used for native packages (#16734) 2024-01-10 15:53:16 +02:00