summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-06-06 06:53:23 +0000
committerPaul Buetow <paul@buetow.org>2011-06-06 06:53:23 +0000
commit71ecf34125b5c9b29bf28e490040bef45b119694 (patch)
treeff67e867c4b7809c271e5bb59cc33675d9fc9371
parentf2a970db6a23b97ba09252d834be5ed3fac359cb (diff)
Added ./control foreground
-rwxr-xr-xbin/perldaemon6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/perldaemon b/bin/perldaemon
index b488163..feaa68a 100755
--- a/bin/perldaemon
+++ b/bin/perldaemon
@@ -55,8 +55,12 @@ case $ARG in
logrotate
;;
+ foreground)
+ start daemon.daemonize=no $@
+ ;;
+
*)
- echo "Usage: $0 <start|stop|restart|logrotate>"
+ echo "Usage: $0 <start|stop|restart|logrotate|foreground>"
exit 1
;;
esac