From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19112 invoked from network); 19 Oct 2021 07:20:55 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 19 Oct 2021 07:20:55 -0000 Received: (qmail 10499 invoked by uid 89); 19 Oct 2021 07:21:18 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 10492 invoked from network); 19 Oct 2021 07:21:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=malat-biz.20210112.gappssmtp.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=91B2yfmz2JEyOo+rvbG+DPBN/L61xwM24ojmFHLbvG0=; b=dfpDoifUBZSvRZKP/+cHQQ2+/Zq73LfiFhQMlJFpbkyrooxxJLQ4uhOgVpuXmY/pAj iOz6vccOiRVvZG4e1lmxHzC76rZdmQUT1xmrxEgLh+PeQjMxe23s3fJ8i4wJ5YtMdrF6 J2SFM1J97ChugRpegs5EA9paBH2adh8zbbLbioDmuIGPEm/M8PKgTZRz2Skno+6k230M 8Tv1wRI0rMLiEejuZZ6fpSysVk1jZmd/RtoAxsdzhpBhQpICPQOWXdlfOWZbpkUFUN8B ZX4P5T84Xu3fuBPm+7YHISeF3xHtz9czC8vTEuwqKRohVe7B+h71wUxXNYSzQdJm/gqj od3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=91B2yfmz2JEyOo+rvbG+DPBN/L61xwM24ojmFHLbvG0=; b=d9LsbVmJ2B+rVzVgyARS7hzYQ+LplRGFfI93IeFuVdfxCWgRkKP1DVB2zEd3lrpwKf ueDMmoTxc68eOWGSmSGIW4GxCECEm8IUOef8reX/AUGotAHwQEhm5yE3gwFKHci+CF6q XrXdAIY4/PaQAPcoP/yGpmPpT7nUAtiyyyYYLLIFU0KjQF5DN/tZBP1wcZ7k4/Vj9JJ3 9+rDQ7A7wZlBHK5Vg+Fz7MKczAji5Bzjg/h+XB7lZzypQDhLMmTJXXMPX5cB5FAb77Zw XLzvbvd6yx0ROjeneCFM1NlwAIOVOC7Z44iBFE7tU1oOLO15c984BS9SDhHpC2qXnxK+ t2Hw== X-Gm-Message-State: AOAM531mLK5eBLeEroOk6sEmVHbFW9WWcLCg9ELsuZha0S0LogqKudDF qLsPl97jTOD40FzwrjaMyCUGV0mcnjtFHw== X-Google-Smtp-Source: ABdhPJzaGFNOjxy2dlfLspGZiCUD5PBQt2FieBqMVwFxSdMlYZLpzDO7xIhs8dpkcA9V/JgWnH8iTg== X-Received: by 2002:a7b:cb99:: with SMTP id m25mr4272322wmi.192.1634628049915; Tue, 19 Oct 2021 00:20:49 -0700 (PDT) Date: Tue, 19 Oct 2021 09:20:41 +0200 From: Petr Malat To: supervision@list.skarnet.org Subject: Service watchdog Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I'm using the busybox implementation of runit to manage services and I miss some kind of a watchdog in runsv. I though about extending supervise/control pipe by a status command which would allow to publish a status, for example 's Running'. Runsv would then append a monotonic timestamp when it was received and the passed string to its argv[0] making it visible in the process listing. This could be used by "check" to check the service is up and also by watchdog to see it made some progress since the last run. Any opinions on that? BR, Petr