diff --git a/rootfs/etc/s6-overlay/scripts/collectd b/rootfs/etc/s6-overlay/scripts/collectd index 99d3431..c5900c9 100755 --- a/rootfs/etc/s6-overlay/scripts/collectd +++ b/rootfs/etc/s6-overlay/scripts/collectd @@ -3,6 +3,9 @@ source /scripts/common +# make sure /run/collectd exists +mkdir -p /run/collectd + if chk_enabled "${GRAPHS1090_DISABLE}" || chk_enabled "${TAR1090_DISABLE}"; then exec sleep infinity diff --git a/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init b/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init index 0123cd1..e0f5fdc 100755 --- a/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init +++ b/rootfs/etc/s6-overlay/startup.d/08-graphs1090-init @@ -4,7 +4,6 @@ source /scripts/common mkdir -p /run/graphs1090 -mkdir -p /run/collectd/localhost # If ${GRAPHS1090_DISABLE} is set, remove access to the graphs1090 website. We don't need to worry about putting this file back # after graphs1090 is re-enabled, because when changing env params, the container MUST be recreated.