aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-07-24 04:38:33 +0800
committerache <ache@FreeBSD.org>1998-07-24 04:38:33 +0800
commitd0348901d7f66d045d917a42918aaf29f0b9721e (patch)
tree4ad26a9ec9b37a8df1538a69dd620b0cbc490d05 /www
parente2a8d5f8706967477f41b0ecb8d0b4f8dabb6738 (diff)
downloadfreebsd-ports-gnome-d0348901d7f66d045d917a42918aaf29f0b9721e.tar.gz
freebsd-ports-gnome-d0348901d7f66d045d917a42918aaf29f0b9721e.tar.zst
freebsd-ports-gnome-d0348901d7f66d045d917a42918aaf29f0b9721e.zip
apachectl: redirect kill output to /dev/null
Diffstat (limited to 'www')
-rw-r--r--www/apache13/files/patch-ak19
-rw-r--r--www/apache2/files/patch-ak19
-rw-r--r--www/apache20/files/patch-ak19
-rw-r--r--www/apache21/files/patch-ak19
-rw-r--r--www/apache22/files/patch-ak19
5 files changed, 90 insertions, 5 deletions
diff --git a/www/apache13/files/patch-ak b/www/apache13/files/patch-ak
index e85e920f178e..7cda58a4604b 100644
--- a/www/apache13/files/patch-ak
+++ b/www/apache13/files/patch-ak
@@ -1,5 +1,5 @@
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
---- src/support/apachectl Thu Jul 23 17:11:38 1998
+--- src/support/apachectl Fri Jul 24 00:34:59 1998
***************
*** 39,44 ****
--- 39,46 ----
@@ -12,6 +12,23 @@
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
***************
+*** 50,56 ****
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+--- 52,58 ----
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+***************
*** 82,87 ****
--- 84,90 ----
fi
diff --git a/www/apache2/files/patch-ak b/www/apache2/files/patch-ak
index e85e920f178e..7cda58a4604b 100644
--- a/www/apache2/files/patch-ak
+++ b/www/apache2/files/patch-ak
@@ -1,5 +1,5 @@
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
---- src/support/apachectl Thu Jul 23 17:11:38 1998
+--- src/support/apachectl Fri Jul 24 00:34:59 1998
***************
*** 39,44 ****
--- 39,46 ----
@@ -12,6 +12,23 @@
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
***************
+*** 50,56 ****
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+--- 52,58 ----
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+***************
*** 82,87 ****
--- 84,90 ----
fi
diff --git a/www/apache20/files/patch-ak b/www/apache20/files/patch-ak
index e85e920f178e..7cda58a4604b 100644
--- a/www/apache20/files/patch-ak
+++ b/www/apache20/files/patch-ak
@@ -1,5 +1,5 @@
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
---- src/support/apachectl Thu Jul 23 17:11:38 1998
+--- src/support/apachectl Fri Jul 24 00:34:59 1998
***************
*** 39,44 ****
--- 39,46 ----
@@ -12,6 +12,23 @@
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
***************
+*** 50,56 ****
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+--- 52,58 ----
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+***************
*** 82,87 ****
--- 84,90 ----
fi
diff --git a/www/apache21/files/patch-ak b/www/apache21/files/patch-ak
index e85e920f178e..7cda58a4604b 100644
--- a/www/apache21/files/patch-ak
+++ b/www/apache21/files/patch-ak
@@ -1,5 +1,5 @@
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
---- src/support/apachectl Thu Jul 23 17:11:38 1998
+--- src/support/apachectl Fri Jul 24 00:34:59 1998
***************
*** 39,44 ****
--- 39,46 ----
@@ -12,6 +12,23 @@
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
***************
+*** 50,56 ****
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+--- 52,58 ----
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+***************
*** 82,87 ****
--- 84,90 ----
fi
diff --git a/www/apache22/files/patch-ak b/www/apache22/files/patch-ak
index e85e920f178e..7cda58a4604b 100644
--- a/www/apache22/files/patch-ak
+++ b/www/apache22/files/patch-ak
@@ -1,5 +1,5 @@
*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998
---- src/support/apachectl Thu Jul 23 17:11:38 1998
+--- src/support/apachectl Fri Jul 24 00:34:59 1998
***************
*** 39,44 ****
--- 39,46 ----
@@ -12,6 +12,23 @@
ARGV="$@"
if [ "x$ARGV" = "x" ] ; then
***************
+*** 50,56 ****
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+--- 52,58 ----
+ # check for pidfile
+ if [ -f $PIDFILE ] ; then
+ PID=`cat $PIDFILE`
+! if kill -0 $PID > /dev/null 2>&1; then
+ STATUS="httpd (pid $PID) running"
+ RUNNING=1
+ else
+***************
*** 82,87 ****
--- 84,90 ----
fi