From nobody Tue Jan 23 04:36:20 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJvRy5D7Gz579rG for ; Tue, 23 Jan 2024 04:36:30 +0000 (UTC) (envelope-from 4250.82.1d52700006a0782.fa99bcf259daefe5dd302c284e40ab33@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJvRy3BDNz4LbQ for ; Tue, 23 Jan 2024 04:36:30 +0000 (UTC) (envelope-from 4250.82.1d52700006a0782.fa99bcf259daefe5dd302c284e40ab33@email-od.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1705984590; x=1708576590; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=ub+PhUU+Bw8rbtHQrhKVB4MkIKE45PIQxLW58OF5Dq0=; b=ee5MLxiB4YX9s+FaOm8B6ThPH0Q/JO7mKKliScyaBqA71tRmnXrH1tNbt3Qz8NFQ6C1fZKavec6A/OCW6swTvOFD/52O3jZL+2i1apW8C3CbNn4zMfQIsvtbZPD1JUTRolBZ103KYzsWvpvCQ+9y4rsfckp3OdqQALHAc/9UZLs= X-Thread-Info: NDI1MC4xMi4xZDUyNzAwMDA2YTA3ODIucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.us-west-2.aws.in.socketlabs.com (r3.us-west-2.aws.in.socketlabs.com [142.0.190.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 22 Jan 2024 23:36:24 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-west-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 22 Jan 2024 23:36:23 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1rS8WL-000KCi-MW; Tue, 23 Jan 2024 04:36:21 +0000 Date: Tue, 23 Jan 2024 04:36:20 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Cc: "Robert R. Russell" Subject: Re: User specific daemons Message-Id: <20240123043620.f489087f717d347e57d59789@sohara.org> In-Reply-To: <20240122175118.1ef3b25e@venus.private.rrbrussell.com> References: <20240122175118.1ef3b25e@venus.private.rrbrussell.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4TJvRy3BDNz4LbQ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US] On Mon, 22 Jan 2024 17:51:18 -0600 "Robert R. Russell" wrote: > How do I start and maintain a program as a user specific daemon? I > don't mean run a daemon as a specific user. I need one of each daemon > per user. Start them with @reboot clauses in user crontabs, optionally managed by daemon(1). -- Steve O'Hara-Smith