mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
influxdb: Add start script used by systemd service
The influxdb systemd service tries to run the script influxd-systemd-start.sh, but it was not copied to the correct location by the influxdb recipe. This led to a failure during start-up: [FAILED] Failed to start InfluxDB i…ributed, time series database. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
458fd00233
commit
90bc2a94f2
|
|
@ -58,11 +58,15 @@ do_install:append() {
|
|||
if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ] ; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${S}/src/${GO_IMPORT}/scripts/influxdb.service ${D}${systemd_system_unitdir}/influxdb.service
|
||||
install -d ${D}${libdir}/influxdb/scripts
|
||||
install -m 0755 ${S}/src/${GO_IMPORT}/scripts/influxd-systemd-start.sh ${D}${libdir}/influxdb/scripts/influxd-systemd-start.sh
|
||||
fi
|
||||
|
||||
# TODO chown
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/influxdb/scripts/influxd-systemd-start.sh"
|
||||
|
||||
INITSCRIPT_PACKAGES = "${PN}"
|
||||
INITSCRIPT_NAME = "influxdb"
|
||||
INITSCRIPT_PARAMS = "defaults"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user