From owner-freebsd-questions@freebsd.org Tue Aug 18 07:12:13 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3236A3B18B9 for ; Tue, 18 Aug 2020 07:12:13 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from hermes.heuristicsystems.com.au (ger1569334.lnk.telstra.net [165.228.127.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BW2Ct42q1z4qw1 for ; Tue, 18 Aug 2020 07:12:09 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 07I7Bnfv066863 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 18 Aug 2020 17:11:49 +1000 (AEST) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1597734709; x=1598339510; bh=Y/h6ZoiF53VON897AzxKWbibsJoolmABdLOBuKQwQa8=; h=Subject:To:From:Message-ID:Date; b=Dyi8w3llPKKH70gnARZEsINCFvKwRmthv8zEjU9VFzmFDNKGtFcJPGvbWY16TAVht SPaPVW20AwmS7mNe7al7vla2Q+NBrzJ/TnJFSkhFN6pBzEcMyyV5fDOthfRKeoGF+b eImhFdM91Wb+da2ApngSOngnYHVoIGfFS1sU0fRWParVI2NZoAHt1 X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Subject: Re: need a systemd To: freebsd-questions@freebsd.org References: <20200816024739.GB23449@admin.sibptus.ru> <20200816120607.dc46b11fa8011ed671ab52e7@3dresearch.com> <20200818061057.GB77756@admin.sibptus.ru> From: Dewayne Geraghty Autocrypt: addr=dewayne@heuristicsystems.com.au; prefer-encrypt=mutual; keydata= mQFNBFbOsVMBCgDfvi2PspSwoMEtFhF+aFLQKtzSA9f0dhDqthKHESdfbqxvKzhkBjvTJ5Na EgjKoKfoQTh5xuIv3HLhtDo5PeasPgQl9cPJeriqmqlS+UhY5BGYcMc1AO/TX0fsDaQz96ko at3RUW7sff/qPgVzSurk+DV5h866gPdn5Jdjohyl2F1rzRl6dnaAIyg49zlwZOnPHJGKye+B meqUCnPRglhkpNqXR3v1ulbWpfwhdNDvWT82qTG/qsFy/agjJvxwLuEBeoGc1dPWasO8Nztt 0dqf1Lpeg6SX2yJd76WVS4znt88OEbx/QL2PTJ/YtSepS68WaeKuARKPukkU+QXDep0gaLPl /TvU5xAZndNB3rYnpmoLb32pDHlrJbZUVyTMqc3J2EYM6aaizCpg4VEvVpVSqUT4D9MuREhu PeZ3SvEazQARAQABiQF3BB8BCAAhBQJWzrFTFwyAAWHe5yZt8RJL0vaU1MfDto5dBmeFAgcA AAoJEJVk7a1LmFrdy2QJ/AysDdFIMCRiaqEellprZQyEz5I/qZJEi6yRfXH813hhISFz6moh urZYLQ9SRdyMntT8W3Oc4pJc9fF9RSnY0SSQY/arZbrvsv6hKb1KtIK7P5mLS914J9buxEcJ SWeVuOuMA9aCNqg5uMu19pH5pXayORfbv+K7vFPiyllZ64ShUWZJL69vAc/TsbvMrGtG1M4P qyWCOKEiUT93zhVGQoA0aUYjMAZoyvozZCuieo4O8hkPgMz9lka+3bqQBSOB+qO4Iz+CZs0k Lw7Soga6bRqLK86DH99WjTA6Oj1r8Won+j4V9fnTDCVJoSyqdVHLySDv/lHaNu4Ia4AO4i2d shmLw03gOUvoWLJx5X01A5Zio4FvecnpZqQ0Wz5Ph9MiK3lwarfjonTOLeNGd5BpdnHu5VRC fJml7uAYeyKsD8C4tEBEZXdheW5lIEdlcmFnaHR5IDxkZXdheW5lLmdlcmFnaHR5QGNvbnNj aXVtaW50ZXJuYXRpb25hbC5jb20uYXU+iQGXBBMBCABBAhshCwsKDQkIDAcLAwIECBUKCQgL AwIBBRYDAgEAAh4BAheAFiEEC8bIxjMx+sDl4ZCClWTtrUuYWt0FAl5UUOgACgkQlWTtrUuY Wt3xZAn/W/mq5nDhLIfqxVM9GbU8rGzNsGLfnt5NCVcWlBKhgxOOw9EWkcRTMymwX9OMqwxI +te6Gvy7rG53T2xprtsQyqESZmjWcUSEPsQ9hjw4VZCL15ftBeZMYyO2T1e41UImXAlftleT 2kXCktgyAfwfCzHhFiZM8k9QMFQV1x+JukJ9xPFBgICRLsLsVNVw/R1L7KqARuws4HqXxY1J SCpO+FB4b6tWSIRKbzlb6tctdKppKbG/adVYuoK61ngvmsAzy/9OLhF8u1MNCgyFd2woOErh /zyuap8KvJZMlwAIqpjsoHyXsa0cq8A/uNQSmodwBpRsEGXCmZIZq2FJw6N+38to8C8m97q0 YWrY63VsoA6hA4A4/ywzE3EiwGvqJQBMRv2ET3TIdTyLoEIwXq2bDPU7XTZGh5UZEsKFMHH5 228= Message-ID: Date: Tue, 18 Aug 2020 17:10:21 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200818061057.GB77756@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1597734732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature:autocrypt:autocrypt; bh=JhPJKmJJfhbc5gQ6icGClJuKN9xoYN0WiyKRqOfQOhw=; b=bXP8DqKOvyE16fyOIZ9CH2yI5Zjmo0677MTm3j7j9YltwY7c0hQXrBHcrCjDgUPUSFBeYs hQBAhN6YyyynEbzsKwpqNXUpilWkG70lrJPrLn5tUhrPErmESu7a4m0J8/RJ/G0wuGdK9q HcBwXyMYrpv78C+FtoaIPiPHYvwdVyvvlR5/SqKzM3NELT7xp3lnFI/dzoYfTHtoTb2GmZ iX3xpbLlt6kWjwLCztqX4PFzHv+X8L6KjK81JdjF8NXebKTvhQspg36rlBZZjTXObflFI/ ZMKFuOKOWb5uiX3trTbHPcg7mNZqytAOGT1aUDPCxYFn8zVTz0gBbyXXE2Ad0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1597734732; a=rsa-sha256; cv=none; b=OIYTS6UdvRgKAiG5PH3iUxJdrAJ/q16vCyjCa1QfDKoNcmootmZBh0l3jm87lNSBGaU/Fs 2T7QMIi1SRaiuQj8YrO3lqU6e1jen8se+1Bqrvr/rD7qtkgLz6fM6xrBkm2UqlTbYOKNQg Br2fkQ7u604DliFKXW7Ak+zkp3VaS0QqBDkjF4kDpkC+XN4FIn+OwTwegCendrCn1239Nu 3dAtkm1gS/5tYWRyvnwLcW64iSqAC4Tu8VvvYN9sfkwZIuLZ+jP3sEhrfMIUZeVT4dNJMx acIw83hBNGzy56JTud+ltVBWWpbOutllDqCeEoA7PaihGANGXNwHO6QGAhCrXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Dyi8w3ll; spf=fail (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au does not designate 165.228.127.118 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Rspamd-Queue-Id: 4BW2Ct42q1z4qw1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Dyi8w3ll; dmarc=none; spf=fail (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au does not designate 165.228.127.118 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-3.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.05)[-1.046]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; NEURAL_HAM_SHORT(-0.09)[-0.088]; ARC_SIGNED(0.00)[i=1]; NEURAL_HAM_MEDIUM(-0.83)[-0.834]; DMARC_NA(0.00)[heuristicsystems.com.au]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:165.228.0.0/16, country:AU]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 07:12:13 -0000 I've used monit and its very good. However I use sysutils/s6 for process management and sysutils/s6-rc for service management These are not as easy as monit to pick-up. The dependency chain is s6-rc s6 execline - this used to be a hard requirement for log mgt but /bin/sh is ok skalibs - is required, though I don't deploy this in production The maintainer for each of monit and s6-rc & friends do a good job looking after them. (When I was "field testing", I'd kill a maintained service and it auto-restarted within 120ms. I had to slow it down to reduce ROP data collection. ;) ) There is no need to replace rc, but there are benefits to doing so. In my case, one of the drivers was log file management, and s6-log enabled me to pipe a log logs from one jail into another. :) Enjoy. refer https://www.skarnet.org/software/s6-rc/ On 18/08/2020 4:10 pm, Victor Sudakov wrote: > Janos Dohanics wrote: >>> >>> What would you recommend for FreeBSD not as a total rc(8) replacement >>> but as a tool to manage some daemons? >> >> Have you looked at sysutils/monit? >> >> Probably no rc(8) replacement but has many flexible options especially >> if you need to monitor misbehaving daemons. > > Thanks, will definitely look at it. The description looks promising. >