Skip to content

Commit

Permalink
Rename config directory to be /etc/pdns-razor
Browse files Browse the repository at this point in the history
RHEL PowerDNS has /etc/pdns
Debian PowerDNS has /etc/powerdns

Let's be uniq here.

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Aug 21, 2023
1 parent af47e85 commit 59396ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pdns-razor
version: 0.5.1
version: 0.5.2

dependencies:
redis:
Expand Down
2 changes: 1 addition & 1 deletion src/razor.cr
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Razor
@zone : (String | Nil)
@geoip_db_checksum : (String | Nil)

def initialize(config = "/etc/pdns/razor.json", context = "production")
def initialize(config = "/etc/pdns-razor/razor.json", context = "production")
@config = config
@context = context
@banner = "Razor DNS backend"
Expand Down
4 changes: 2 additions & 2 deletions tools/pdns.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
config-dir=/etc/pdns
config-dir=/etc/pdns-razor
daemon=no
guardian=yes
launch=pipe
pipe-command=/etc/pdns/razor
pipe-command=/etc/pdns-razor/razor
log-dns-details=yes
log-dns-queries=yes
loglevel=5
Expand Down

0 comments on commit 59396ac

Please sign in to comment.