From 3e07bb519c57c77c6eaff7d47721a5cc666e23ae Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Wed, 23 Aug 2017 16:10:47 +0200 Subject: [PATCH] Remove systemd (because it moved to stubby repo) --- Makefile.in | 3 --- systemd/README.md | 16 ---------------- systemd/stubby.conf | 2 -- systemd/stubby.service | 12 ------------ 4 files changed, 33 deletions(-) delete mode 100644 systemd/README.md delete mode 100644 systemd/stubby.conf delete mode 100644 systemd/stubby.service diff --git a/Makefile.in b/Makefile.in index 5c46db2b..422f6d80 100644 --- a/Makefile.in +++ b/Makefile.in @@ -199,7 +199,6 @@ $(distdir): mkdir -p $(distdir)/src/tools mkdir -p $(distdir)/src/jsmn mkdir -p $(distdir)/doc - mkdir -p $(distdir)/systemd mkdir -p $(distdir)/spec mkdir -p $(distdir)/spec/example mkdir -p $(distdir)/stubby @@ -244,8 +243,6 @@ $(distdir): cp $(srcdir)/spec/*.html $(distdir)/spec cp $(srcdir)/spec/example/Makefile.in $(distdir)/spec/example cp $(srcdir)/spec/example/*.[ch] $(distdir)/spec/example - cp $(srcdir)/systemd/README.md $(distdir)/systemd - cp $(srcdir)/systemd/stubby.* $(distdir)/systemd cp $(srcdir)/src/tools/Makefile.in $(distdir)/src/tools cp $(srcdir)/src/tools/*.[ch] $(distdir)/src/tools cp $(srcdir)/stubby/stubby.conf.example $(distdir)/stubby diff --git a/systemd/README.md b/systemd/README.md deleted file mode 100644 index 98cea72d..00000000 --- a/systemd/README.md +++ /dev/null @@ -1,16 +0,0 @@ -Stubby integration with systemd -=============================== - -For GNU/Linux operating systems which use systemd as a process -manager, you might want to run stubby as a system service. - -This directory provides recommended systemd unit files. - -This setup assumes that there is a system-level user named "stubby" -which is in group "stubby", and try to limit the privileges of the -running daemon to that user as closely as possible. - -Normally, a downstream distributor will install them as: - - /usr/lib/tmpfiles.d/stubby.conf - /lib/systemd/system/stubby.service diff --git a/systemd/stubby.conf b/systemd/stubby.conf deleted file mode 100644 index bf704927..00000000 --- a/systemd/stubby.conf +++ /dev/null @@ -1,2 +0,0 @@ -# tmpfiles.d (5) for use with stubby.service -d /run/stubby 0750 root stubby - - diff --git a/systemd/stubby.service b/systemd/stubby.service deleted file mode 100644 index b85b8e90..00000000 --- a/systemd/stubby.service +++ /dev/null @@ -1,12 +0,0 @@ -[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