diff mbox

nfs-blkmap.service: add EnvironmentFile directive

Message ID 1425756514-22118-1-git-send-email-steved@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Dickson March 7, 2015, 7:28 p.m. UTC
Fixes: https://bugzilla.linux-nfs.org/show_bug.cgi?id=281

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 systemd/nfs-blkmap.service | 1 +
 1 file changed, 1 insertion(+)

Comments

Steve Dickson March 19, 2015, 6:21 p.m. UTC | #1
On 03/07/2015 02:28 PM, Steve Dickson wrote:
> Fixes: https://bugzilla.linux-nfs.org/show_bug.cgi?id=281
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed...

steved.

> ---
>  systemd/nfs-blkmap.service | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service
> index f470e3d..8ad3b03 100644
> --- a/systemd/nfs-blkmap.service
> +++ b/systemd/nfs-blkmap.service
> @@ -13,4 +13,5 @@ PartOf=nfs-utils.service
>  [Service]
>  Type=forking
>  PIDFile=/var/run/blkmapd.pid
> +EnvironmentFile=-/run/sysconfig/nfs-utils
>  ExecStart=/usr/sbin/blkmapd $BLKMAPDARGS
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/systemd/nfs-blkmap.service b/systemd/nfs-blkmap.service
index f470e3d..8ad3b03 100644
--- a/systemd/nfs-blkmap.service
+++ b/systemd/nfs-blkmap.service
@@ -13,4 +13,5 @@  PartOf=nfs-utils.service
 [Service]
 Type=forking
 PIDFile=/var/run/blkmapd.pid
+EnvironmentFile=-/run/sysconfig/nfs-utils
 ExecStart=/usr/sbin/blkmapd $BLKMAPDARGS