diff options
| author | NeilBrown <neilb@suse.de> | 2014-02-13 13:58:28 -0500 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2014-03-24 16:30:04 -0400 |
| commit | 5615e8924e9ebdf6808bb7a5f690a9d7c3af6dcd (patch) | |
| tree | 22cef59e25f6e8eff7052cbaf97260863bc6cfe9 /systemd/README | |
| parent | d5bd709307a05e14b7a2441b7576b68db85237c1 (diff) | |
| download | nfs-utils-5615e8924e9ebdf6808bb7a5f690a9d7c3af6dcd.tar.gz nfs-utils-5615e8924e9ebdf6808bb7a5f690a9d7c3af6dcd.tar.xz nfs-utils-5615e8924e9ebdf6808bb7a5f690a9d7c3af6dcd.zip | |
systemd units: merge nfs-server.service and nfs-server.target
With systemd, a 'service' should run a single server while a 'target'
can be used to group services.
As nfs service is really a group of services a 'target' makes more
sense.
However that means that we need commands like
systemctl start nfs-server.target
rather than the more simple
systemctl start nfs-server
As the target/service separate doesn't bring any gain except a minor
aesthetic, and does bring a practical inconvenience, this patch merges
nfs-server.target into nfs-server.service.
Reported-by: Steve Dickson <SteveD@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/README')
| -rw-r--r-- | systemd/README | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/systemd/README b/systemd/README index 58a4aca..34f1382 100644 --- a/systemd/README +++ b/systemd/README @@ -10,9 +10,13 @@ rpc.rquotad (in the 'quota' package) or rpcbind. There are 4 units that can be 'enabled' or 'disabled' by systemctl, or by a suitable 'preset' setting: - nfs-server.target + nfs-server.service If enabled, nfs service is started together with dependencies such as mountd, statd, rpc.idmapd + This is a "service" file rather than a "target" (which is the + normal grouping construct) so that + systemctl start nfs-server + can work (if no type is given, ".service" is assumed). nfs-client.target If enabled, daemons needs for an nfs client are enabled. |
