]> git.pld-linux.org Git - packages/ApacheJServ.git/commitdiff
- simple wrapper to redirect stdout/stderr
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Nov 2006 10:56:47 +0000 (10:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    runjserv -> 1.1

runjserv [new file with mode: 0644]

diff --git a/runjserv b/runjserv
new file mode 100644 (file)
index 0000000..b15178d
--- /dev/null
+++ b/runjserv
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ "$LOGFILE" ]; then
+       exec 1>>$LOGFILE
+       exec 2>&1
+       unset LOGFILE
+fi
+exec "$@"
This page took 0.092578 seconds and 4 git commands to generate.