diff options
| author | Thomas Gessler <Thomas.Gessler@posteo.de> | 2023-11-07 23:59:55 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-08 06:49:26 -0800 |
| commit | 90bc2a94f2b58b3d1b3f572df75bcf7ecbb5ef14 (patch) | |
| tree | f7d6d380e073e4e76e7ab94cbf7bd6e361ed2c4f | |
| parent | 458fd00233a73d75d43b21b86b1425d75947b154 (diff) | |
| download | meta-openembedded-90bc2a94f2b58b3d1b3f572df75bcf7ecbb5ef14.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb index 50995c09b6..7f8110e4c1 100644 --- a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb +++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | |||
| @@ -58,11 +58,15 @@ do_install:append() { | |||
| 58 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ] ; then | 58 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ] ; then |
| 59 | install -d ${D}${systemd_unitdir}/system | 59 | install -d ${D}${systemd_unitdir}/system |
| 60 | install -m 0644 ${S}/src/${GO_IMPORT}/scripts/influxdb.service ${D}${systemd_system_unitdir}/influxdb.service | 60 | install -m 0644 ${S}/src/${GO_IMPORT}/scripts/influxdb.service ${D}${systemd_system_unitdir}/influxdb.service |
| 61 | install -d ${D}${libdir}/influxdb/scripts | ||
| 62 | install -m 0755 ${S}/src/${GO_IMPORT}/scripts/influxd-systemd-start.sh ${D}${libdir}/influxdb/scripts/influxd-systemd-start.sh | ||
| 61 | fi | 63 | fi |
| 62 | 64 | ||
| 63 | # TODO chown | 65 | # TODO chown |
| 64 | } | 66 | } |
| 65 | 67 | ||
| 68 | FILES:${PN} += "${libdir}/influxdb/scripts/influxd-systemd-start.sh" | ||
| 69 | |||
| 66 | INITSCRIPT_PACKAGES = "${PN}" | 70 | INITSCRIPT_PACKAGES = "${PN}" |
| 67 | INITSCRIPT_NAME = "influxdb" | 71 | INITSCRIPT_NAME = "influxdb" |
| 68 | INITSCRIPT_PARAMS = "defaults" | 72 | INITSCRIPT_PARAMS = "defaults" |
