summaryrefslogtreecommitdiffstats
path: root/systemd/gluster-blockd.service.in
blob: a586a1ef829ac40cdc981d5df5325e76aa994862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Gluster block storage utility
Requires=rpcbind.service iscsid.service target.service tcmu-runner.service
After=rpcbind.service iscsid.service target.service tcmu-runner.service

[Service]
Type=simple
Environment="GB_GLFS_LRU_COUNT=5"
Environment="GB_LOG_LEVEL=INFO"
EnvironmentFile=-@sysconfigdir@/gluster-blockd
ExecStart=@prefix@/sbin/gluster-blockd --glfs-lru-count $GB_GLFS_LRU_COUNT --log-level $GB_LOG_LEVEL $GB_EXTRA_ARGS
KillMode=process

[Install]
WantedBy=multi-user.target