systemd: Is it wrong?

Michal Schmidt mschmidt at redhat.com
Mon Jul 11 08:42:10 UTC 2011


On Sun, 10 Jul 2011 20:49:56 -0400 Steve Dickson wrote:
> Ok.. Now understand where my confusion is... Currently when one
> want to start the nfs server they type 'service nfs start' which
> calls a number of binaries and ultimately a system daemon.

We could achieve something similar with systemd by providing a target
unit 'nfs.target'. The unit would pull the daemons using requirement
dependencies.

> Now if they enable want secure nfs, they edit a file in /etc/systconf
> and simply type 'service nfs restart' which again runs a number 
> of binaries and start a couple of system daemons.

This could be another target 'nfs-secure.target'. It would pull
'nfs.target' + more daemons.

The users would start and enable these target units instead of
the units of the individual daemons.

Michal


More information about the devel mailing list