summaryrefslogtreecommitdiff
path: root/config-parabola-mgmt-resolved.PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2021-06-18 01:51:43 -0600
committerLuke Shumaker <lukeshu@datawire.io>2021-06-18 01:53:05 -0600
commit00ffaaa5a23ec9d93a4c4d26414e8312e11454b3 (patch)
treeba14e4525f33f56beddd3a25fde2a8b86f42e3e7 /config-parabola-mgmt-resolved.PKGBUILD
parent09f2d3dba2da3df9e1cd6df2ec114b113a40f3a2 (diff)
Diffstat (limited to 'config-parabola-mgmt-resolved.PKGBUILD')
-rw-r--r--config-parabola-mgmt-resolved.PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-parabola-mgmt-resolved.PKGBUILD b/config-parabola-mgmt-resolved.PKGBUILD
index d60b304..68056dd 100644
--- a/config-parabola-mgmt-resolved.PKGBUILD
+++ b/config-parabola-mgmt-resolved.PKGBUILD
@@ -7,13 +7,14 @@ pkgdesc="Parabola server configuration: Use resolved"
conflicts+=(config-parabola-base-openresolv)
# Enable resolved
-add-unit /etc/systemd/system/multi-user.target.wants/systemd-resolved.service
+add-unit etc/systemd/system/multi-user.target.wants/systemd-resolved.service
ln -s /usr/lib/systemd/system/systemd-resolved.service etc/systemd/system/dbus-org.freedesktop.resolve1.service
# Configure DNS to use resolved
#
# 'filesystem' contains a conflicting resolv.conf, so use Holo to
# overwrite it.
+mkdir -p usr/share/holo/files/10-"$pkgname"/etc
ln -s /run/systemd/resolve/stub-resolv.conf usr/share/holo/files/10-"$pkgname"/etc/resolv.conf
postamble