Resending the patch, since the lines got messed up by my mail client.
From 033ec10c581bda7bfabb668dccc8d6ea3a8d4108 Mon Sep 17 00:00:00 2001
From: James Valleroy <jvalle...@mailbox.org>
Date: Sat, 5 Mar 2016 14:25:43 -0500
Subject: [PATCH] Correct arg order in init script.

---
 debian/tahoe-lafs.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/tahoe-lafs.init b/debian/tahoe-lafs.init
index 352ee75..27a614b 100755
--- a/debian/tahoe-lafs.init
+++ b/debian/tahoe-lafs.init
@@ -55,7 +55,7 @@ _tahoe () {
     case "$action" in
         start|restart)
             su -s "/bin/sh" \
-               -c "'$DAEMON' '$action' $DAEMONARGS '$CONFIG_DIR/${node_name}'" \
+               -c "'$DAEMON' '$action' '$CONFIG_DIR/${node_name}' $DAEMONARGS" \
                "$node_uid"
         ;;
         stop)
-- 
2.7.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to