summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/init26
-rw-r--r--auto/install25
-rw-r--r--auto/sources1
3 files changed, 27 insertions, 25 deletions
diff --git a/auto/init b/auto/init
index ebca44424..bc4d8bbec 100644
--- a/auto/init
+++ b/auto/init
@@ -36,3 +36,29 @@ else
ngx_n=
ngx_c='\c'
fi
+
+
+
+if test ! -f Makefile; then
+
+ cat << END > Makefile
+
+build:
+ \$(MAKE) -f $OBJS/Makefile
+
+install:
+ \$(MAKE) -f $OBJS/Makefile install
+
+clean:
+ rm -rf Makefile $OBJS
+
+upgrade:
+ $SBIN_PATH -t
+ kill -USR2 \`cat $PID_PATH\`
+ sleep 1
+ test -f $PID_PATH.newbin
+ kill -WINCH \`cat $PID_PATH\`
+
+END
+
+fi
diff --git a/auto/install b/auto/install
index b838b9b2c..57e3019cb 100644
--- a/auto/install
+++ b/auto/install
@@ -38,28 +38,3 @@ if [ ".$ERROR_LOG_PATH" != "." ]; then
END
fi
-
-
-if test ! -f Makefile; then
-
- cat << END > Makefile
-
-build:
- \$(MAKE) -f $OBJS/Makefile
-
-install:
- \$(MAKE) -f $OBJS/Makefile install
-
-clean:
- rm -rf Makefile $OBJS
-
-upgrade:
- $SBIN_PATH -t
- kill -USR2 \`cat $PID_PATH\`
- sleep 1
- test -f $PID_PATH.newbin
- kill -WINCH \`cat $PID_PATH\`
-
-END
-
-fi
diff --git a/auto/sources b/auto/sources
index 40fbad223..6e21a4134 100644
--- a/auto/sources
+++ b/auto/sources
@@ -138,6 +138,7 @@ UNIX_SRCS="$CORE_SRCS $EVENT_SRCS \
src/os/unix/ngx_shared.c \
src/os/unix/ngx_process.c \
src/os/unix/ngx_daemon.c \
+ src/os/unix/ngx_setproctitle.c \
src/os/unix/ngx_posix_init.c \
src/os/unix/ngx_process_cycle.c"