mirror of
https://github.com/netdata/netdata.git
synced 2025-05-06 02:00:18 +00:00

* Add basic dinit detection to install-service script. * Add dinit service file for Netdata. * Add service install support for dinit.
11 lines
357 B
Text
11 lines
357 B
Text
# dinit service description for Netdata
|
|
#
|
|
# Currently only properly tested on Chimera Linux.
|
|
|
|
type = bgprocess
|
|
command = @sbindir_POST@/netdata -P @localstatedir_POST@/run/netdata.pid -D
|
|
pid-file = @localstatedir_POST@/run/netdata.pid
|
|
options = signal-process-only
|
|
load-options = export-passwd-vars
|
|
depends-on = early-fs-local.target
|
|
after = network.target
|