[Groonga-commit] groonga/groonga [master] deb: make directory for pid file

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Sep 3 13:07:30 JST 2012


HAYASHI Kentaro	2012-09-03 13:07:30 +0900 (Mon, 03 Sep 2012)

  New Revision: 87e0fb0f82f1d27216d0ac9f01069ad7216bd24d
  https://github.com/groonga/groonga/commit/87e0fb0f82f1d27216d0ac9f01069ad7216bd24d

  Log:
    deb: make directory for pid file

  Modified files:
    packages/debian/groonga-httpd.init

  Modified: packages/debian/groonga-httpd.init (+2 -0)
===================================================================
--- packages/debian/groonga-httpd.init    2012-08-31 17:41:58 +0900 (468acf8)
+++ packages/debian/groonga-httpd.init    2012-09-03 13:07:30 +0900 (2a06dc7)
@@ -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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index