File curvedns.service of Package curvedns
# (C) 2011,2022 Peter Conrad <conrad@quisquis.de>
#
# This file is licensed under the terms of the
# GNU General Public License Version 2. A copy of these terms should be
# enclosed as "COPYING" in the package containing this file.
[Unit]
Description=DNSCurve reverse DNS proxy
After=local-fs.target
ConditionPathExists=/etc/curvedns/
[Install]
WantedBy=multiuser.target
Also=curvedns.socket
[Service]
Environment=PATH=
EnvironmentFile=/etc/sysconfig/curvedns
WorkingDirectory=/etc/curvedns/
User=named
ExecStart=/usr/bin/envuidgid named /usr/sbin/curvedns 0.0.0.0 0 ${TARGET_IP} ${TARGET_PORT}
StandardInput=null
SyslogFacility=daemon
SyslogIdentifier=curvedns
SyslogLevel=warning
SyslogLevelPrefix=true