mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
Update dnscrypt-proxy-resolvconf.service to support new systemctl 'show' format for socket units (see eabc13c781
)
parent
78105ec7f0
commit
0a3ff3b333
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ ConditionFileIsExecutable=/sbin/resolvconf
|
|||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/bin/sh -c 'systemctl show dnscrypt-proxy.socket \
|
||||
| grep ListenDatagram \
|
||||
| grep "Listen.*Datagram" \
|
||||
| cut -d "=" -f 2 \
|
||||
| cut -d ":" -f 1 \
|
||||
| awk \'{ print "nameserver " $1 }\' \
|
||||
|
|
Loading…
Add table
Reference in a new issue