diff options
author | Quentin Retornaz <caseoffr@outlook.com> | 2018-04-25 21:56:18 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-04-25 20:26:38 -0400 |
commit | f3cafd190f4b4632ccac19b6fde6e8f948eeb34e (patch) | |
tree | fbb254db69762abe18f13fa70ee3cc6e56f020f5 /net-dns/getdns/files | |
parent | www-apache/mod_access_dnsbl: fix HOMEPAGE. (diff) | |
download | gentoo-f3cafd190f4b4632ccac19b6fde6e8f948eeb34e.tar.gz gentoo-f3cafd190f4b4632ccac19b6fde6e8f948eeb34e.tar.bz2 gentoo-f3cafd190f4b4632ccac19b6fde6e8f948eeb34e.zip |
net-dns/getdns: add systemd unit files
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-dns/getdns/files')
-rw-r--r-- | net-dns/getdns/files/stubby.systemd | 12 | ||||
-rw-r--r-- | net-dns/getdns/files/stubby.tmpfilesd | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/net-dns/getdns/files/stubby.systemd b/net-dns/getdns/files/stubby.systemd new file mode 100644 index 000000000000..b85b8e90b036 --- /dev/null +++ b/net-dns/getdns/files/stubby.systemd @@ -0,0 +1,12 @@ +[Unit] +Description=stubby DNS resolver + +[Service] +WorkingDirectory=/run/stubby +ExecStart=/usr/bin/stubby +AmbientCapabilities=CAP_NET_BIND_SERVICE +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +User=stubby + +[Install] +WantedBy=multi-user.target diff --git a/net-dns/getdns/files/stubby.tmpfilesd b/net-dns/getdns/files/stubby.tmpfilesd new file mode 100644 index 000000000000..bf70492743ad --- /dev/null +++ b/net-dns/getdns/files/stubby.tmpfilesd @@ -0,0 +1,2 @@ +# tmpfiles.d (5) for use with stubby.service +d /run/stubby 0750 root stubby - - |