[systemd-devel] Using Multiple EnvironmentFile lines

Steve Dickson SteveD at redhat.com
Tue Aug 2 14:59:50 PDT 2011



On 08/02/2011 03:17 PM, "Jóhann B. Guðmundsson" wrote:
> On 08/02/2011 07:11 PM, Mantas Mikulėnas wrote:
>> t doesn't make much sense for me to run nfsd, mountd, rquotad and everything from a single .service unit - after all, they are separate services with their own protocols... I might want to just restart rpc.idmapd without killing the rest of NFS.
>>
>> For Arch Linux I tried to separate everything into their own units; far from perfect, but it's much cleaner:
> 
> Same thing I did but Steve did not like that...

I did play around with Mantas idea of breaking things
up in that fashion but I quickly into a decency knot
that look a bit looked a bit ominous ;-) So 
I just intergraded Mantas changes to the existing scripts
and keep nfs-server.service the same. 

The scripts I plan on committing tomorrow are at:
    http://people.redhat.com/steved/.tmp/systemd/

I'm waiting on the NFS team at Red Hat to make
comments... but please feel free share you opinion as
well... They will be well used scripts... ;-)  

In the end, Johann, they are very similar to what you suggested
a while ago, which means I lost a number of configuration
knobs due to the simplistic environment that systemd supports.

But... only time will tell how much they will be missed and 
they were mostly on legacy daemon that I can hopefully 
get rid of in the near future...

I just want to thank everybody for their help! Its truly 
appreciated!  

steved.

    


More information about the systemd-devel mailing list