forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic support for dinit in our system service handling code. (net…
…data#16836) * Add basic dinit detection to install-service script. * Add dinit service file for Netdata. * Add service install support for dinit.
- Loading branch information
Showing
3 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters