aboutsummaryrefslogtreecommitdiffstats
path: root/irc/inspircd/files
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-09-19 06:16:11 +0800
committerfeld <feld@FreeBSD.org>2014-09-19 06:16:11 +0800
commitda18b8fc9497d3a951a64c0110be7b94dc3a7b2b (patch)
treeab36fd505839a8402737b40cddff7908ef97dab8 /irc/inspircd/files
parent8e0f17f4a739f442d87a9b23c57d1be886c31cb2 (diff)
downloadfreebsd-ports-gnome-da18b8fc9497d3a951a64c0110be7b94dc3a7b2b.tar.gz
freebsd-ports-gnome-da18b8fc9497d3a951a64c0110be7b94dc3a7b2b.tar.zst
freebsd-ports-gnome-da18b8fc9497d3a951a64c0110be7b94dc3a7b2b.zip
Update to 2.0.17
Properly configure default data and log directories. Enable OPENSSL as default open -- crypto should be possible out of the box.
Diffstat (limited to 'irc/inspircd/files')
-rw-r--r--irc/inspircd/files/inspircd.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc/inspircd/files/inspircd.in b/irc/inspircd/files/inspircd.in
index 59af0620eb6f..3bed41d7e486 100644
--- a/irc/inspircd/files/inspircd.in
+++ b/irc/inspircd/files/inspircd.in
@@ -35,6 +35,7 @@ load_rc_config ${name}
: ${inspircd_pidfile="%%INSPIRCD_RUN%%/inspircd.pid"}
: ${inspircd_user="%%USERS%%"}
: ${inspircd_group="%%GROUPS%%"}
+: ${inspircd_data="/var/db/inspircd"}
: ${inspircd_logfile="%%INSPIRCD_LOG%%"}
: ${inspircd_flags="${inspircd_flags} --logfile ${inspircd_logfile} --config ${inspircd_config}"}
@@ -55,6 +56,7 @@ inspircd_prestart()
for i in ${inspircd_pidfile} ${inspircd_logfile}; do
install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${i%/*}
done
+ install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${inspircd_data}
}
run_rc_command "$1"