Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:45339 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbbAMUhk (ORCPT ); Tue, 13 Jan 2015 15:37:40 -0500 From: Steve Dickson To: Linux NFS Mailing list Cc: Systemd Mailing List Subject: [PATCH 1/3] systemd: Bind rpc.idmapd to the nfs-server service Date: Tue, 13 Jan 2015 15:37:35 -0500 Message-Id: <1421181457-8159-2-git-send-email-steved@redhat.com> In-Reply-To: <1421181457-8159-1-git-send-email-steved@redhat.com> References: <1421181457-8159-1-git-send-email-steved@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: Since rpc.idmapd is only used by the nfs server, to do its id mapping, bind the nfs-idmapd service to the nfs-server service so rpc.idmapd will be started and stopped with the nfs server. Signed-off-by: Steve Dickson --- systemd/nfs-idmapd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service index 11895e2..61c9a64 100644 --- a/systemd/nfs-idmapd.service +++ b/systemd/nfs-idmapd.service @@ -1,7 +1,7 @@ [Unit] Description=NFSv4 ID-name mapping service -PartOf=nfs-utils.service +BindTo=nfs-server.service Wants=nfs-config.service After=nfs-config.service -- 2.1.0