summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Retornaz <gentoo@retornaz.com>2018-06-20 17:00:34 +0200
committerAnthony G. Basile <blueness@gentoo.org>2018-07-12 18:31:43 -0400
commitcecd6be7b3c948d81dd4c97cfba092acfbd0a366 (patch)
treeb7fce6bfc372028f1baf264ccd7e09f8423f731e /net-dns/getdns/files
parentnet-dns/getdns: fix typo in ebuild src_configure (diff)
downloadgentoo-cecd6be7b3c948d81dd4c97cfba092acfbd0a366.tar.gz
gentoo-cecd6be7b3c948d81dd4c97cfba092acfbd0a366.tar.bz2
gentoo-cecd6be7b3c948d81dd4c97cfba092acfbd0a366.zip
net-dns/getdns: fix upstream systemd unit to match ebuild configuration #656988
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-dns/getdns/files')
-rw-r--r--net-dns/getdns/files/getdns-1.4.2-stubby.service.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch
new file mode 100644
index 000000000000..2bb7546fcfa5
--- /dev/null
+++ b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch
@@ -0,0 +1,16 @@
+diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service
+--- a/stubby/systemd/stubby.service 2018-05-11 13:25:22.000000000 +0200
++++ b/stubby/systemd/stubby.service 2018-06-20 15:40:23.650164668 +0200
+@@ -3,9 +3,11 @@
+
+ [Service]
+ User=stubby
+-DynamicUser=yes
++DynamicUser=no
+ CacheDirectory=stubby
+ WorkingDirectory=/var/cache/stubby
++ExecStartPre=/bin/mkdir -p /var/cache/stubby
++ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby
+ ExecStart=/usr/bin/stubby
+ AmbientCapabilities=CAP_NET_BIND_SERVICE
+ CapabilityBoundingSet=CAP_NET_BIND_SERVICE