On 08/24/2014 08:52 PM, Richard Shaw wrote:
On Sun, Aug 24, 2014 at 10:38 AM, Steven Stern
<subscribed-lists@xxxxxxxxxxxxx <mailto:subscribed-lists@xxxxxxxxxxxxx>>
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?
Richard
Then the service file simply runs an if/then loop, only initiating for
users that have ~/.dropbox-dist/ directory.
--
Dan Mossor, RHCSA
Systems Engineer at Large
Fedora Plasma Product WG | Fedora QA Team | Fedora Server SIG
Fedora Infrastructure Apprentice
FAS: dmossor IRC: danofsatx
San Antonio, Texas, USA
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org