File: 03-systemd-environment-file.diff

package info (click to toggle)
glusterfs 11.1-6
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,156 kB
  • sloc: ansic: 467,237; sh: 51,851; python: 12,989; makefile: 1,962; yacc: 487; lisp: 124; lex: 61; xml: 14
file content (15 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use environment configuration file for glusterd.
# Closes: #1002799

diff -Naur glusterfs-10.0.orig/extras/systemd/glusterd.service.in glusterfs-10.0/extras/systemd/glusterd.service.in
--- glusterfs-10.0.orig/extras/systemd/glusterd.service.in	2021-12-29 09:03:17.000000000 +0100
+++ glusterfs-10.0/extras/systemd/glusterd.service.in	2021-12-29 09:21:38.143669524 +0100
@@ -12,7 +12,7 @@
 PIDFile=/run/glusterd.pid
 LimitNOFILE=65536
 Environment="LOG_LEVEL=INFO"
-EnvironmentFile=-@SYSCONF_DIR@/sysconfig/glusterd
+EnvironmentFile=-/etc/default/glusterd
 ExecStart=@prefix@/sbin/glusterd -p @localstatedir@/run/glusterd.pid  --log-level $LOG_LEVEL $GLUSTERD_OPTIONS
 KillMode=control-group
 TimeoutSec=300