diff --git a/collectd-extensions/centos/build_srpm.data b/collectd-extensions/centos/build_srpm.data index fb8be46..52d2156 100644 --- a/collectd-extensions/centos/build_srpm.data +++ b/collectd-extensions/centos/build_srpm.data @@ -16,4 +16,4 @@ COPY_LIST="$PKG_BASE/src/LICENSE \ $PKG_BASE/src/example.py \ $PKG_BASE/src/example.conf" -TIS_PATCH_VER=3 +TIS_PATCH_VER=4 diff --git a/collectd-extensions/src/collectd.service b/collectd-extensions/src/collectd.service index 14d12c3..1ac7cb0 100644 --- a/collectd-extensions/src/collectd.service +++ b/collectd-extensions/src/collectd.service @@ -1,6 +1,7 @@ [Unit] Description=Collectd statistics daemon and extension services Documentation=man:collectd(1) man:collectd.conf(5) +Before=pmon.service After=local-fs.target network-online.target Requires=local-fs.target network-online.target diff --git a/influxdb-extensions/centos/build_srpm.data b/influxdb-extensions/centos/build_srpm.data index 2be8701..03c5dbc 100644 --- a/influxdb-extensions/centos/build_srpm.data +++ b/influxdb-extensions/centos/build_srpm.data @@ -4,4 +4,4 @@ COPY_LIST="$PKG_BASE/src/LICENSE \ $PKG_BASE/src/influxdb.conf.pmon \ $PKG_BASE/src/influxdb.service" -TIS_PATCH_VER=1 +TIS_PATCH_VER=2 diff --git a/influxdb-extensions/src/influxdb.service b/influxdb-extensions/src/influxdb.service index 2d31048..7617d2a 100644 --- a/influxdb-extensions/src/influxdb.service +++ b/influxdb-extensions/src/influxdb.service @@ -1,8 +1,10 @@ [Unit] Description=InfluxDB open-source, distributed, time series database Documentation=https://influxdb.com/docs/ -After=local-fs.target network.target Before=collectd.service +Before=pmon.service +After=local-fs.target network-online.target +Requires=local-fs.target network-online.target [Service] User=influxdb