|
|
b94b9d |
From c70924b69af760ec3762b01594afb6ff82c3820c Mon Sep 17 00:00:00 2001
|
|
|
b94b9d |
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
|
|
b94b9d |
Date: Wed, 19 Sep 2018 16:13:43 +0200
|
|
|
b94b9d |
Subject: [PATCH] systemd-tmpfiles: configure path with --with-rsctmpdir
|
|
|
b94b9d |
|
|
|
b94b9d |
---
|
|
|
b94b9d |
configure.ac | 3 ++-
|
|
|
b94b9d |
systemd/resource-agents.conf | 1 -
|
|
|
b94b9d |
systemd/resource-agents.conf.in | 1 +
|
|
|
b94b9d |
3 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
b94b9d |
delete mode 100644 systemd/resource-agents.conf
|
|
|
b94b9d |
create mode 100644 systemd/resource-agents.conf.in
|
|
|
b94b9d |
|
|
|
b94b9d |
diff --git a/configure.ac b/configure.ac
|
|
|
b94b9d |
index b7ffb99f3..e34d125e9 100644
|
|
|
b94b9d |
--- a/configure.ac
|
|
|
b94b9d |
+++ b/configure.ac
|
|
|
b94b9d |
@@ -431,7 +431,7 @@ AC_SUBST(HA_VARRUNDIR)
|
|
|
b94b9d |
|
|
|
b94b9d |
# Expand $prefix
|
|
|
b94b9d |
eval HA_RSCTMPDIR="`eval echo ${HA_RSCTMPDIR}`"
|
|
|
b94b9d |
-AC_DEFINE_UNQUOTED(HA_RSCTMPDIR,"$HA_RSCTMPDIR", Where Resouce agents keep state files)
|
|
|
b94b9d |
+AC_DEFINE_UNQUOTED(HA_RSCTMPDIR,"$HA_RSCTMPDIR", Where Resource agents keep state files)
|
|
|
b94b9d |
AC_SUBST(HA_RSCTMPDIR)
|
|
|
b94b9d |
|
|
|
b94b9d |
dnl Eventually move out of the heartbeat dir tree and create symlinks when needed
|
|
|
b94b9d |
@@ -911,6 +911,7 @@ heartbeat/Makefile \
|
|
|
b94b9d |
heartbeat/ocf-shellfuncs \
|
|
|
b94b9d |
heartbeat/shellfuncs \
|
|
|
b94b9d |
systemd/Makefile \
|
|
|
b94b9d |
+ systemd/resource-agents.conf \
|
|
|
b94b9d |
tools/Makefile \
|
|
|
b94b9d |
tools/ocf-tester \
|
|
|
b94b9d |
tools/ocft/Makefile \
|
|
|
b94b9d |
diff --git a/systemd/resource-agents.conf b/systemd/resource-agents.conf
|
|
|
b94b9d |
deleted file mode 100644
|
|
|
b94b9d |
index 1cb129c18..000000000
|
|
|
b94b9d |
--- a/systemd/resource-agents.conf
|
|
|
b94b9d |
+++ /dev/null
|
|
|
b94b9d |
@@ -1 +0,0 @@
|
|
|
b94b9d |
-d /var/run/resource-agents/ 1755 root root
|
|
|
b94b9d |
diff --git a/systemd/resource-agents.conf.in b/systemd/resource-agents.conf.in
|
|
|
b94b9d |
new file mode 100644
|
|
|
b94b9d |
index 000000000..7bd157ec0
|
|
|
b94b9d |
--- /dev/null
|
|
|
b94b9d |
+++ b/systemd/resource-agents.conf.in
|
|
|
b94b9d |
@@ -0,0 +1 @@
|
|
|
b94b9d |
+d @HA_RSCTMPDIR@ 1755 root root
|