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
## 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
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
-Also=dnscrypt-proxy.socket
+#Also=dnscrypt-proxy.socket
WantedBy=multi-user.target