mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
25 lines
565 B
Plaintext
25 lines
565 B
Plaintext
$NetBSD: patch-ac,v 1.2 2016/05/25 21:39:44 fhajny Exp $
|
|
|
|
Default dirs.
|
|
|
|
--- update_sqlgrey_config.orig 2005-03-02 01:49:41.000000000 +0100
|
|
+++ update_sqlgrey_config
|
|
@@ -24,7 +24,7 @@ fi
|
|
LANG=C
|
|
LC_ALL=C
|
|
|
|
-MYDIR=/etc/sqlgrey
|
|
+MYDIR=@PKG_SYSCONFDIR@
|
|
CONF=$MYDIR/sqlgrey.conf
|
|
|
|
# Get whitelists host and pidfile from conf
|
|
@@ -36,7 +36,7 @@ fi
|
|
pidfile=`grep "^[[:space:]]*pidfile" $CONF | cut -d= -f2 | awk '{print $1}'`
|
|
if [ -z "$pidfile" ]
|
|
then
|
|
- pidfile="/var/run/sqlgrey.pid"
|
|
+ pidfile="@SQLGREY_PIDDIR@/sqlgrey.pid"
|
|
fi
|
|
|
|
# Go into a temp directory
|