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: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/52861 (Adding an rc file to syncthing.)
Date: Tue, 9 Jul 2019 17:23:19 +0000
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...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index