Add files for packaging
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
a17e467947
commit
850556ab7d
@ -1,7 +1,11 @@
|
|||||||
|
# This file is part of the pdns-genrev package
|
||||||
|
# Author: Georg Pfuetzenreuter <mail+opensuse@georg-pfuetzenreuter.net>
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=PowerDNS reverse zone update
|
Description=PowerDNS reverse zone update
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
User=pdns-genrev
|
||||||
EnvironmentFile=/etc/sysconfig/pdns-genrev
|
EnvironmentFile=/etc/sysconfig/pdns-genrev
|
||||||
ExecStart=/usr/bin/pdns-genrev $ARGS
|
ExecStart=/usr/bin/pdns-genrev $ARGS
|
33
suse/pdns-genrev.sysconfig
Normal file
33
suse/pdns-genrev.sysconfig
Normal 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"
|
1
suse/pdns-genrev.system-user
Normal file
1
suse/pdns-genrev.system-user
Normal file
@ -0,0 +1 @@
|
|||||||
|
u pdns-genrev - "PowerDNS reverse zone helper" /var/lib/empty -
|
Loading…
Reference in New Issue
Block a user