From 10f54a8a4c6f22a8b76a62a69aa111ffb5ba664a Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Thu, 20 Feb 2020 10:07:02 -0500
Subject: [PATCH] Chaperone does environment variable expansion itself, it
 doesn't need ths /bin/sh exec

---
 chaperone.d/shapeshifter-dispatcher.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chaperone.d/shapeshifter-dispatcher.conf b/chaperone.d/shapeshifter-dispatcher.conf
index 3505d89..02c2caa 100644
--- a/chaperone.d/shapeshifter-dispatcher.conf
+++ b/chaperone.d/shapeshifter-dispatcher.conf
@@ -1,4 +1,4 @@
 shapeshifter-dispatcher.service: {
-     command: "/bin/sh -c 'exec /usr/local/bin/shapeshifter-dispatcher -transparent -server -state /srv/leap/shapeshifter-state -orport ${RHOST}:${RPORT} -transports obfs4 -bindaddr obfs4-${LHOST}:${OBFSPORT} -logLevel ${LOGLEVEL} -enableLogging -extorport ${RHOST}:${EXTORPORT}'",
+     command: "/usr/local/bin/shapeshifter-dispatcher -transparent -server -state /srv/leap/shapeshifter-state -orport ${RHOST}:${RPORT} -transports obfs4 -bindaddr obfs4-${LHOST}:${OBFSPORT} -logLevel ${LOGLEVEL} -enableLogging -extorport ${RHOST}:${EXTORPORT}",
      exit_kills: true
 }
-- 
GitLab