null+****@clear*****
null+****@clear*****
2012年 8月 2日 (木) 13:04:02 JST
HAYASHI Kentaro 2012-08-02 13:04:02 +0900 (Thu, 02 Aug 2012) New Revision: 223b6b8c2ef4d12fa6468a424b6337d0fade2a0b https://github.com/groonga/groonga/commit/223b6b8c2ef4d12fa6468a424b6337d0fade2a0b Log: deb: fix not to control user/group by init script TODO: customize user/group settings by groonga-httpd.conf Modified files: packages/debian/groonga-httpd.init Modified: packages/debian/groonga-httpd.init (+0 -11) =================================================================== --- packages/debian/groonga-httpd.init 2012-08-01 16:33:55 +0900 (f10e6bd) +++ packages/debian/groonga-httpd.init 2012-08-02 13:04:02 +0900 (dcfdc83) @@ -39,27 +39,16 @@ DEFAULT_FILE=/etc/default/groonga-httpd [ "$ENABLE" = "yes" ] || exit 0 -USER_EXIST=0 if [ -n "${USER}" ]; then if ! getent passwd | grep -q "^${USER}:"; then echo "$0: user for running groonga-httpd doesn't exist: ${USER}" >&2 exit 1 - else - USER_EXIST=1 fi fi -GROUP_EXIST=0 if [ -n "${GROUP}" ]; then if ! getent group | grep -q "^${GROUP}:"; then echo "$0: group for running groonga-httpd doesn't exist: ${GROUP}" >&2 exit 1 - else - GROUP_EXIST=1 - fi -fi -if [ $USER_EXIST = 1 ]; then - if [ $GROUP_EXIST = 1 ]; then - START_STOP_DAEMON_ARGS="${START_STOP_DAEMON_ARGS} --chuid ${USER}:${GROUP}" fi fi DAEMON_ARGS="${DAEMON_ARGS} ${OPTION_ARGS}" -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download