diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/gluster-blockd.service.in | 3 | ||||
-rw-r--r-- | systemd/gluster-blockd.sysconfig | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/systemd/gluster-blockd.service.in b/systemd/gluster-blockd.service.in index 7a9b759..a586a1e 100644 --- a/systemd/gluster-blockd.service.in +++ b/systemd/gluster-blockd.service.in @@ -6,8 +6,9 @@ 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 $GB_EXTRA_ARGS +ExecStart=@prefix@/sbin/gluster-blockd --glfs-lru-count $GB_GLFS_LRU_COUNT --log-level $GB_LOG_LEVEL $GB_EXTRA_ARGS KillMode=process [Install] diff --git a/systemd/gluster-blockd.sysconfig b/systemd/gluster-blockd.sysconfig index cb778d2..49261bd 100644 --- a/systemd/gluster-blockd.sysconfig +++ b/systemd/gluster-blockd.sysconfig @@ -10,5 +10,9 @@ #GB_GLFS_LRU_COUNT=5 +# supported loglevels [ NONE, ERROR, WARNING, INFO, DEBUG, TRACE ] +#GB_LOG_LEVEL=INFO + + # Expert use only, just incase if we have any extra args to pass for daemon #GB_EXTRA_ARGS="" |