From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86990138334 for ; Tue, 10 Jul 2018 05:27:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABD8FE0871; Tue, 10 Jul 2018 05:27:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8482BE0871 for ; Tue, 10 Jul 2018 05:27:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21CFC335C7F for ; Tue, 10 Jul 2018 05:27:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF818353 for ; Tue, 10 Jul 2018 05:27:32 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1531200280.ff422337a888f3b2e2bd9a648e18b400abc44733.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service X-VCS-Directories: net-dns/dnscrypt-proxy/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: ff422337a888f3b2e2bd9a648e18b400abc44733 X-VCS-Branch: master Date: Tue, 10 Jul 2018 05:27:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e73f9d3d-3eb3-40bd-81ae-27c9abd8a54a X-Archives-Hash: a472c724fd60ecd8c4c99fdecb33aa48 commit: ff422337a888f3b2e2bd9a648e18b400abc44733 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Jul 10 05:24:40 2018 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Jul 10 05:24:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff422337 net-dns/dnscrypt-proxy: adjust systemd service Disable socket file by default, as described in pkg_postinst message. Users who want to use socket activation will have to set listen_addresses to an empty set (i.e. [] ) and enable dnscrypt-proxy.socket explicitly. Package-Manager: Portage-2.3.41, Repoman-2.3.9 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service index ed02955621b..a0c7a1408c8 100644 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service +++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service @@ -7,12 +7,11 @@ Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki ## If you enable this, the `listen_addresses` list in the main configuration file can be empty. ## Or, at least, the addresses it contains should not overlap with the systemd socket addresses. -# Requires=dnscrypt-proxy.socket - -After=network.target -Wants=network.target +#Requires=dnscrypt-proxy.socket Before=nss-lookup.target -Wants=nss-lookup.target +After=network.target +Wants=network.target nss-lookup.target + [Service] ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml @@ -35,5 +34,5 @@ CapabilityBoundingSet=CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_BIND_SERVICE [Install] -Also=dnscrypt-proxy.socket +#Also=dnscrypt-proxy.socket WantedBy=multi-user.target