File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1- INFLUXD_CONFIG_PATH=$( SYNOPKG_PKGVAR) /config.yml
1+ INFLUXD_CONFIG_PATH=${ SYNOPKG_PKGVAR} /config.yml
22INFLUXD=${SYNOPKG_PKGDEST} /bin/influxd
33
44export INFLUXD_CONFIG_PATH=${INFLUXD_CONFIG_PATH}
@@ -8,13 +8,14 @@ SVC_BACKGROUND=yes
88SVC_WRITE_PID=yes
99SVC_CWD=" ${SYNOPKG_PKGVAR} "
1010
11- service_preinst ()
11+ service_postinst ()
1212{
1313 cat << EOF > "${INFLUXD_CONFIG_PATH} "
14- http-bind-address: ":${SERVICE_PORT} "
15- reporting-disabled: true
16- bolt-path: "${SYNOPKG_PKGVAR} /.influxdbv2/influxd.bolt"
17- engine-path: "${SYNOPKG_PKGVAR} /.influxdbv2/engine"
18- sqlite-path: "${SYNOPKG_PKGVAR} /.influxdbv2/influxd.sqlite"
14+ http-bind-address: ":${SERVICE_PORT} "
15+ reporting-disabled: true
16+ bolt-path: "${SYNOPKG_PKGVAR} /.influxdbv2/influxd.bolt"
17+ engine-path: "${SYNOPKG_PKGVAR} /.influxdbv2/engine"
18+ sqlite-path: "${SYNOPKG_PKGVAR} /.influxdbv2/influxd.sqlite"
19+
1920EOF
2021}
You can’t perform that action at this time.
0 commit comments