summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'rpm')
-rw-r--r--rpm/init.d-mongod.suse2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpm/init.d-mongod.suse b/rpm/init.d-mongod.suse
index b2c7eb20db5..426f06aa104 100644
--- a/rpm/init.d-mongod.suse
+++ b/rpm/init.d-mongod.suse
@@ -36,6 +36,8 @@ if [ -f "$SYSCONFIG" ]; then
. "$SYSCONFIG"
fi
+PIDDIR=`dirname $PIDFILEPATH`
+
# Handle NUMA access to CPUs (SERVER-3574)
# This verifies the existence of numactl as well as testing that the command works
NUMACTL_ARGS="--interleave=all"