diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-09 03:35:21 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-09 03:35:21 +0000 |
commit | c9a437c5c21b264864eae5b28c0ed7eb4f2f86d1 (patch) | |
tree | cdea4900480e631baf6fbb183a54d86569354fbd /devel/tcllib/files/tclhttpd.sh | |
parent | Add tcltls, a Tcl interface to OpenSSL. (diff) |
Add Tcllib, a collection of utility modules for Tcl.
PR: 18263
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to '')
-rw-r--r-- | devel/tcllib/files/tclhttpd.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/tcllib/files/tclhttpd.sh b/devel/tcllib/files/tclhttpd.sh new file mode 100644 index 000000000000..6053456fe639 --- /dev/null +++ b/devel/tcllib/files/tclhttpd.sh @@ -0,0 +1,16 @@ +#!/bin/sh +case $1 in +stop) + if ! [ -f /var/run/tclhttd.pid ] ; then + echo tclhttd does not seem to be running + exit 1 + fi + echo "Not sure if `cat /var/run/tclhttd.pid` \ + (from /var/run/tclhttd.pid) is what you wish killed." + exit 2 + ;; +start|"") + COMMAND_LINE & + test -n "$!" && echo $! > /var/run/tclhttd.pid + ;; +esac |