File: Debian-path-for-the-config-file.patch

package info (click to toggle)
dlm 4.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 900 kB
  • ctags: 1,844
  • sloc: ansic: 13,442; makefile: 297; sh: 83
file content (21 lines) | stat: -rw-r--r-- 660 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi@niif.hu>
Date: Sun, 30 Aug 2015 16:48:15 +0200
Subject: Debian path for the config file

---
 init/dlm.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/dlm.service b/init/dlm.service
index 1db5925..5cd01c5 100644
--- a/init/dlm.service
+++ b/init/dlm.service
@@ -7,7 +7,7 @@ After=corosync.service sys-kernel-config.mount
 OOMScoreAdjust=-1000
 Type=notify
 NotifyAccess=main
-EnvironmentFile=/etc/sysconfig/dlm
+EnvironmentFile=-/etc/default/dlm
 ExecStartPre=/sbin/modprobe dlm 
 ExecStart=/usr/sbin/dlm_controld --foreground $DLM_CONTROLD_OPTS
 #ExecStopPost=/sbin/modprobe -r dlm