summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpconnectd.sh2
-rw-r--r--httpconnectd@.service.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/httpconnectd.sh b/httpconnectd.sh
index 6240e02..24edb68 100644
--- a/httpconnectd.sh
+++ b/httpconnectd.sh
@@ -10,7 +10,7 @@
server='httpconnectd'
MethodNotAllowed() {
- printf '%\r\n' \
+ printf '%s\r\n' \
'HTTP/1.1 405 Method Not Allowed' \
"Server: $server" \
"Date: $(date -R)" \
diff --git a/httpconnectd@.service.in b/httpconnectd@.service.in
index 8934abf..a057c27 100644
--- a/httpconnectd@.service.in
+++ b/httpconnectd@.service.in
@@ -5,9 +5,9 @@ Description=An HTTP CONNECT connection
After=network.target
[Service]
-ExecStart=-@bindir@/httpconnectserver
+ExecStart=@bindir@/httpconnectd
StandardInput=socket
-StandardOutput=inherit
+StandardOutput=socket
StandardError=journal
User=nobody
Group=nobody