Add files for packaging

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-11-12 17:34:50 +01:00
parent a17e467947
commit 850556ab7d
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
3 changed files with 38 additions and 0 deletions

View File

@ -1,7 +1,11 @@
# This file is part of the pdns-genrev package
# Author: Georg Pfuetzenreuter <mail+opensuse@georg-pfuetzenreuter.net>
[Unit]
Description=PowerDNS reverse zone update
[Service]
Type=oneshot
User=pdns-genrev
EnvironmentFile=/etc/sysconfig/pdns-genrev
ExecStart=/usr/bin/pdns-genrev $ARGS

View File

@ -0,0 +1,33 @@
# This file is part of the pdns-genrev package
# Author: Georg Pfuetzenreuter <mail+opensuse@georg-pfuetzenreuter.net>
## Description: pdns-genrev configuration
## Type: string
## Default: not set
#
# PowerDNS API Key
#
GENREV_KEY=""
## Type: string
## Default: "http://[::1]:8081"
#
# PowerDNS web server
#
GENREV_URL="http://[::1]:8081"
## Type: string
## Default: not set
#
# Comma separated list of forward DNS zones
#
GENREV_ZONES=""
## Type: string
## Default: "--wet"
#
# Command line arguments to pass
# Add "--notify" here if primary/secondary replication is used
#
ARGS="--wet"

View File

@ -0,0 +1 @@
u pdns-genrev - "PowerDNS reverse zone helper" /var/lib/empty -