From patchwork Tue Apr 18 09:33:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 13215323 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B9C2C77B78 for ; Tue, 18 Apr 2023 09:34:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231316AbjDRJeb (ORCPT ); Tue, 18 Apr 2023 05:34:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231368AbjDRJeX (ORCPT ); Tue, 18 Apr 2023 05:34:23 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02F696580 for ; Tue, 18 Apr 2023 02:34:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id EEC6964548AB; Tue, 18 Apr 2023 11:34:15 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id WW06JdmeZJiL; Tue, 18 Apr 2023 11:34:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 44AFD6431C58; Tue, 18 Apr 2023 11:34:15 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2GWg6ee8cyin; Tue, 18 Apr 2023 11:34:15 +0200 (CEST) Received: from blindfold.corp.sigma-star.at (unknown [82.150.214.1]) by lithops.sigma-star.at (Postfix) with ESMTPSA id BF83764548AB; Tue, 18 Apr 2023 11:34:14 +0200 (CEST) From: Richard Weinberger To: linux-nfs@vger.kernel.org Cc: david@sigma-star.at, david.oberhollenzer@sigma-star.at, luis.turcitu@appsbroker.com, david.young@appsbroker.com, trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, steved@redhat.com, chris.chilvers@appsbroker.com, Richard Weinberger Subject: [PATCH 8/8] Add fsid systemd service file Date: Tue, 18 Apr 2023 11:33:50 +0200 Message-Id: <20230418093350.4550-9-richard@nod.at> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20230418093350.4550-1-richard@nod.at> References: <20230418093350.4550-1-richard@nod.at> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Co-developed-by: Chris Chilvers Signed-off-by: Richard Weinberger --- systemd/Makefile.am | 3 ++- systemd/fsidd.service | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 systemd/fsidd.service diff --git a/systemd/Makefile.am b/systemd/Makefile.am index 2e250dca..b4483222 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -15,7 +15,8 @@ unit_files = \ rpc-statd-notify.service \ rpc-statd.service \ \ - proc-fs-nfsd.mount + proc-fs-nfsd.mount \ + fsidd.service rpc_pipefs_mount_file = \ var-lib-nfs-rpc_pipefs.mount diff --git a/systemd/fsidd.service b/systemd/fsidd.service new file mode 100644 index 00000000..9cb480e3 --- /dev/null +++ b/systemd/fsidd.service @@ -0,0 +1,10 @@ +[Unit] +Description=NFS FSID Daemon +After=local-fs.target +Before=nfs-mountd.service nfs-server.service + +[Service] +ExecStart=/usr/sbin/fsidd + +[Install] +RequiredBy=nfs-mountd.service nfs-server.service