Merge pull request #17307 from kurtbahartr/master
fixup! Initial build of dnscrypt-proxy
This commit is contained in:
@@ -13,8 +13,8 @@ PIDFILE="/run/dnscrypt-proxy.pid"
|
|||||||
def start():
|
def start():
|
||||||
# path to executable
|
# path to executable
|
||||||
# creates a pid file, sets the working directory and calls the jar file
|
# creates a pid file, sets the working directory and calls the jar file
|
||||||
startService(command="/usr/bin/dnscrypt-proxy",
|
startService(command="/usr/bin/dnscrypt-proxy-comar-compat.sh",
|
||||||
args="--config /etc/dnscrypt-proxy/dnscrypt-proxy.toml",
|
args="",
|
||||||
donotify=True)
|
donotify=True)
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user