From c9ad64ea402121292d4b3e9037bbc9ce88b66e9f Mon Sep 17 00:00:00 2001 From: Bahar KURT Date: Thu, 4 Sep 2025 00:35:37 +0300 Subject: [PATCH] fixup! Initial build of dnscrypt-proxy This is what I get for not testing my own package properly. --- network/connection/dnscrypt-proxy/comar/service.py | 4 ++-- .../dnscrypt-proxy/files/dnscrypt-proxy-comar-compat.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 network/connection/dnscrypt-proxy/files/dnscrypt-proxy-comar-compat.sh diff --git a/network/connection/dnscrypt-proxy/comar/service.py b/network/connection/dnscrypt-proxy/comar/service.py index c8c7a7f480..fca16bf912 100644 --- a/network/connection/dnscrypt-proxy/comar/service.py +++ b/network/connection/dnscrypt-proxy/comar/service.py @@ -13,8 +13,8 @@ PIDFILE="/run/dnscrypt-proxy.pid" def start(): # path to executable # creates a pid file, sets the working directory and calls the jar file - startService(command="/usr/bin/dnscrypt-proxy", - args="--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml", + startService(command="/usr/bin/dnscrypt-proxy-comar-compat.sh", + args="", donotify=True) @synchronized diff --git a/network/connection/dnscrypt-proxy/files/dnscrypt-proxy-comar-compat.sh b/network/connection/dnscrypt-proxy/files/dnscrypt-proxy-comar-compat.sh new file mode 100755 index 0000000000..985b5d6bf6 --- /dev/null +++ b/network/connection/dnscrypt-proxy/files/dnscrypt-proxy-comar-compat.sh @@ -0,0 +1,4 @@ +#!/bin/sh +/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml > /dev/null 2>&1 & +echo $! > /run/dnscrypt-proxy.pid +