summaryrefslogtreecommitdiffstats
path: root/systemd/gluster-blockd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/gluster-blockd.service.in')
-rw-r--r--systemd/gluster-blockd.service.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/systemd/gluster-blockd.service.in b/systemd/gluster-blockd.service.in
index 8970154..7a9b759 100644
--- a/systemd/gluster-blockd.service.in
+++ b/systemd/gluster-blockd.service.in
@@ -5,7 +5,9 @@ After=rpcbind.service iscsid.service target.service tcmu-runner.service
[Service]
Type=simple
-ExecStart=@prefix@/sbin/gluster-blockd
+Environment="GB_GLFS_LRU_COUNT=5"
+EnvironmentFile=-@sysconfigdir@/gluster-blockd
+ExecStart=@prefix@/sbin/gluster-blockd --glfs-lru-count $GB_GLFS_LRU_COUNT $GB_EXTRA_ARGS
KillMode=process
[Install]