Re: User specific daemons

From: Paul Procacci <pprocacci_at_gmail.com>
Date: Tue, 23 Jan 2024 00:45:16 UTC
On Mon, Jan 22, 2024 at 6:51 PM Robert R. Russell <robert@rrbrussell.com>
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.
>
> Under Linux I could create a few $HOME/.config/systemd/daemon.service
> files run systemctl --user enable daemon.service and the problem was
> solved. The services specifically include tmux, and ssh-agent or
> gpg-agent. There were some other services I used this for but those were
> more Linux specific and thus less important.
>
> Before I go with the metaphorical hammer meets nail shaped object
> approach and port half of SystemD to FreeBSD using Rust what options
> should I try first.
>
>
Many different ways to do this.  I myself would probably use daemontools  (
https://cr.yp.to/daemontools/install.html), but this certainly isn't the
only option.

~Paul
-- 
__________________

:(){ :|:& };: