[fedfs-utils] [PATCH] contrib: add a systemd service file for rpc.fedfsd

Chuck Lever chuck.lever at oracle.com
Mon Nov 7 13:33:48 PST 2011


On Nov 4, 2011, at 8:40 PM, Jeff Layton wrote:

> On Fri, 4 Nov 2011 19:28:21 -0400
> Chuck Lever <chuck.lever at oracle.com> wrote:
> 
>> Hi Jeff-
>> 
>> This looks OK, at first glance.  I'll drop it into 0.8 after check-in testing.
>> 
>> I'm not especially familiar with systemd.  Can you explain (just briefly here in e-mail) what the settings in rpcfedfsd.service do?  How would I use this file on my Fedora 15 system instead of the contrib/init-scripts/rpcfedfsd script?
>> 
>> Maybe we should have a contrib/README to explain what these things are for.
>> 
> 
> I pretty much "borrowed" it from the example here:
> 
>    http://0pointer.de/blog/projects/systemd-for-admins-3.html
> 
> and it has a description of all the fields.
> 
> It works, but we might want to do some tweaking of this file eventually
> -- maybe add a /etc/sysconfig/fedfs file where we can do things like
> set command line arguments, etc...

My rpcfedfsd init script already looks in /etc/sysconfig/nfs.  That can be changed, though.  I guess we want fedfs to be rather more independent of NFS.

> The systemd manpages are pretty comprehensive. A readme might not be a
> bad idea, but systemd is still a bit of a moving target. I wouldn't
> try to do much more than to tell people that it's for systemd and to
> look to its documentation on how to use it.

OK.  I'll see what I can do.

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com







More information about the fedfs-utils-devel mailing list