Add collectd container
This commit is contained in:
3
build/make/collectd.mk
Normal file
3
build/make/collectd.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
collectd:
|
||||
$(call script,$@)
|
||||
$(call runit,$@)
|
||||
3
build/runit/collectd
Normal file
3
build/runit/collectd
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
/usr/sbin/collectd -f
|
||||
7
build/scripts/collectd.sh
Normal file
7
build/scripts/collectd.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
source /build/config
|
||||
set -x
|
||||
|
||||
## collectd
|
||||
apt_get_install_permanent libsensors4 collectd
|
||||
Reference in New Issue
Block a user