summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorMichael Orlitzky <michael@orlitzky.com>2018-07-15 18:28:37 -0400
committerMichael Orlitzky <michael@orlitzky.com>2021-05-14 07:50:34 -0400
commit78dddb75e6f3f8f433a6f08add13bffbad90fc7c (patch)
tree83004abcd19c49fc29c6f69a3f2d55470dc435d8 /files
parent4d2841832cc3b38175bd0f0c3e6b8e143b5a0426 (diff)
downloadfail2ban-78dddb75e6f3f8f433a6f08add13bffbad90fc7c.tar.gz
files/fail2ban-openrc.init.in: add a comment about @RUNDIR@ in the future.
Diffstat (limited to 'files')
-rwxr-xr-xfiles/fail2ban-openrc.init.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/fail2ban-openrc.init.in b/files/fail2ban-openrc.init.in
index 20465254..2c56ee3a 100755
--- a/files/fail2ban-openrc.init.in
+++ b/files/fail2ban-openrc.init.in
@@ -23,6 +23,10 @@ description_reload="reload configuration without dropping bans"
extra_started_commands="reload"
# Can't (and shouldn't) be changed by the end-user.
+#
+# Note that @BINDIR@ is already supplied by the build system. Some
+# day, it might be nice to have @RUNDIR@ supplied by the build system
+# as well, so that we don't have to hard-code /run here.
FAIL2BAN_RUNDIR="/run/${RC_SVCNAME}"
FAIL2BAN_SOCKET="${FAIL2BAN_RUNDIR}/${RC_SVCNAME}.sock"