summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-05-30 19:20:50 +0000
committerPaul Buetow <paul@buetow.org>2011-05-30 19:20:50 +0000
commitb7189bab044a37877012846ef0b17b08032e7e89 (patch)
tree2c6a5c56f5ccf5dce453a8f3f8fea54ba05b55de
parent5f5d8b12cec3d4c63a34a7f0fb0b0202a4c26244 (diff)
Passing of startup options now also works using restart
-rwxr-xr-xbin/perldaemon5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/perldaemon b/bin/perldaemon
index d3991bd..2a3a65f 100755
--- a/bin/perldaemon
+++ b/bin/perldaemon
@@ -45,8 +45,9 @@ case $ARG in
;;
restart)
- stop
- start
+ shift
+ stop
+ start $@
;;
logrotate)