help writing a service file for dropbox
Steven Stern
subscribed-lists at sterndata.com
Mon Aug 25 02:52:27 UTC 2014
On 08/24/2014 08:52 PM, Richard Shaw wrote:
> On Sun, Aug 24, 2014 at 10:38 AM, Steven Stern
> <subscribed-lists at sterndata.com <mailto:subscribed-lists at sterndata.com>>
> wrote:
>
> Ideally, I'd look at a list of users entered in a file in /etc/sysconfig
> and loop through ExecStart and User for each user, substituting the user
> name for "sdstern" on each.
>
> So, pointers on how to do things like this in a .service file?
>
> I don't think a dropbox like service really lends itself to system-wide
> startup. What if one of your users isn't signed up, or doesn't want to be?
>
That's the function of the file in /etc/sysconfig. It lists the users
who are. Actually, this is just my system but I run a couple of dropbox
user accounts on it -- one as my main one and one to backup client websites.
--
-- Steve
More information about the users
mailing list