pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52861 (Adding an rc file to syncthing.)
The following reply was made to PR pkg/52861; it has been noted by GNATS.
From: Greg Troxel <gdt%lexort.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/52861 (Adding an rc file to syncthing.)
Date: Tue, 09 Jul 2019 14:02:54 -0400
David Holland <dholland-pbugs%netbsd.org@localhost> writes:
> On Sun, Jul 07, 2019 at 03:45:01PM +0000, Greg Troxel wrote:
> > One of the reasons I hesitated to add an rc.d script is that syncthing
> > is not clearly a system daemon vs. a user daemon. And if it's a user
> > daemon, then there should be able to be an instance per user. So a
> > variable scheme that admits possibly many users is in order, something
> > like
> >
> > syncthing_users="alice bob charlie"
> > syncthing_home.alice = /home/alice
> > [and so on]
> >
> > And this is a specific case of users starting up programs at boot, for
> > which there should be a more general mechanism. On NetBSD, @reboot in
> > crontab might be that, or might not. For pkgsrc in general with rc.d,
> > crontab features don't address the issue.
>
> This is something for which base needs (or would need) a mechanism and
> it isn't the job of pkgsrc to improvise a halfassed solution...
I didn't actually propose a solution (merely noted that the issue exists
and gave an example config to hint at scope), so there's no need to
cast aspersions.
Part of the reason I hesitated is that indeed there should be a more
general approach, and doing that right seemed like too much work.
Home |
Main Index |
Thread Index |
Old Index