Permalink
Browse files

deb: make directory for pid file

  • Loading branch information...
1 parent 549c551 commit 87e0fb0f82f1d27216d0ac9f01069ad7216bd24d @kenhys kenhys committed Sep 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 packages/debian/groonga-httpd.init
@@ -40,6 +40,8 @@ DEFAULT_FILE=/etc/default/groonga-httpd
[ "$ENABLE" = "yes" ] || exit 0
+mkdir -p $(dirname ${PIDFILE})
+
if [ -n "${USER}" ]; then
if ! getent passwd | grep -q "^${USER}:"; then
echo "$0: user for running groonga-httpd doesn't exist: ${USER}" >&2

0 comments on commit 87e0fb0

Please sign in to comment.