From b39f99467b72f450aec5bff77b6b8a3e002c5d52 Mon Sep 17 00:00:00 2001 From: bt90 Date: Thu, 12 Jan 2023 19:10:02 +0000 Subject: [PATCH] Start processes via exec --- rootfs/etc/services.d/cron/run | 2 +- rootfs/etc/services.d/influxdb/run | 2 +- rootfs/etc/services.d/scrutiny/run | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/services.d/cron/run b/rootfs/etc/services.d/cron/run index 0c6025f..a5ac065 100755 --- a/rootfs/etc/services.d/cron/run +++ b/rootfs/etc/services.d/cron/run @@ -1,4 +1,4 @@ #!/usr/bin/with-contenv bash echo "starting cron" -cron -f -L 15 +exec cron -f -L 15 diff --git a/rootfs/etc/services.d/influxdb/run b/rootfs/etc/services.d/influxdb/run index 99cf1e1..b94c996 100644 --- a/rootfs/etc/services.d/influxdb/run +++ b/rootfs/etc/services.d/influxdb/run @@ -14,4 +14,4 @@ EOF fi echo "starting influxdb" -influxd run +exec influxd run diff --git a/rootfs/etc/services.d/scrutiny/run b/rootfs/etc/services.d/scrutiny/run index 3fac4a6..1adfdf2 100644 --- a/rootfs/etc/services.d/scrutiny/run +++ b/rootfs/etc/services.d/scrutiny/run @@ -4,4 +4,4 @@ echo "waiting for influxdb" until $(curl --output /dev/null --silent --head --fail http://localhost:8086/health); do echo "influxdb not ready" && sleep 5; done echo "starting scrutiny" -scrutiny start +exec scrutiny start