diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-07-26 18:52:16 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-07-26 18:52:16 -0400 |
commit | d6c45b37352cc6c157b5c9906b4afbe8dde4cfb6 (patch) | |
tree | 8b8d4735be0d44245c90682fc218ce36997f4134 | |
parent | ffb96165c3b3c8c24551c8b0c04d372b2fa15301 (diff) |
fix naming of Stuff
-rw-r--r-- | docker-bake.hcl | 2 | ||||
-rw-r--r-- | pkg/DEBIAN/control | 2 | ||||
-rwxr-xr-x | pkg/DEBIAN/postinst | 8 | ||||
-rw-r--r-- | pkg/usr/lib/systemd/system/dns-server.service | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/docker-bake.hcl b/docker-bake.hcl index cfa0a10..fcf4c1f 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -3,7 +3,7 @@ variable "PKGVER" { } group "default" { - targets = ["deb"] + targets = ["bin", "deb"] } target "bin" { diff --git a/pkg/DEBIAN/control b/pkg/DEBIAN/control index 063a035..6413288 100644 --- a/pkg/DEBIAN/control +++ b/pkg/DEBIAN/control @@ -6,4 +6,4 @@ Section: web Priority: optional Maintainer: Galen Guyer <galen@galenguyer.com> Installed-Size: 96 -Description: FDNS resolver +Description: HOSTSdotTXT resolver diff --git a/pkg/DEBIAN/postinst b/pkg/DEBIAN/postinst index 23245e5..f8cab7b 100755 --- a/pkg/DEBIAN/postinst +++ b/pkg/DEBIAN/postinst @@ -1,8 +1,8 @@ #!/bin/sh -if [ ! -f /etc/fdns.env ]; then - echo "DATABASE_URL=" >> /etc/fdns.env - echo "METRICS_URL=" >> etc/fdns.env +if [ ! -f /etc/hostsdottxt.env ]; then + echo "DATABASE_URL=" >> /etc/hostsdottxt.env + echo "METRICS_URL=" >> etc/hostsdottxt.env fi -systemctl is-active --quiet dns-server && systemctl restart dns-server || true +systemctl is-active --quiet dns-server && systemctl daemon-reload && systemctl restart dns-server || true diff --git a/pkg/usr/lib/systemd/system/dns-server.service b/pkg/usr/lib/systemd/system/dns-server.service index c03f6ea..296be10 100644 --- a/pkg/usr/lib/systemd/system/dns-server.service +++ b/pkg/usr/lib/systemd/system/dns-server.service @@ -1,5 +1,5 @@ [Unit] -Description=FDNS resolver +Description=HOSTSdotTXT resolver After=network.target After=systemd-user-sessions.service After=network-online.target @@ -7,7 +7,7 @@ After=network-online.target [Service] Type=simple Restart=always -EnvironmentFile=/etc/fdns.env +EnvironmentFile=/etc/hostsdottxt.env ExecStart=/usr/bin/dns-server [Install] |